File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ h1 {
2
+ color : orangered;
3
+ font-size : 3rem ;
4
+ text-align : center;
5
+ margin-top : 300px ;
6
+ }
7
+ @media (min-width : 43.75em ) {
8
+ h1 {
9
+ font-size : 4.5rem ;
10
+ color : orchid;
11
+ }
12
+ }
13
+ @media (min-width : 62em ) {
14
+ h1 {
15
+ font-size : 5rem ;
16
+ color : forestgreen;
17
+ }
18
+ }
19
+ @media (min-width : 87em ) {
20
+ h1 {
21
+ font-size : 5.5rem ;
22
+ color : blueviolet;
23
+ }
24
+ }
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6
+ < title > Media Queries Basics</ title >
7
+ < link rel ="stylesheet " href ="intro.css " />
8
+ </ head >
9
+ < body >
10
+ < h1 > This World Shall Know Pain</ h1 >
11
+ </ body >
12
+ </ html >
You can’t perform that action at this time.
0 commit comments