File tree 7 files changed +67
-16
lines changed
7 files changed +67
-16
lines changed Original file line number Diff line number Diff line change 9
9
</ head >
10
10
< body >
11
11
< p > Number 1 - I'm a class!</ p >
12
- < div > Number 2 - I'm one ID.</ div >
13
- < p > Number 3 - I'm a class, but cooler!</ p >
14
- < div > Number 4 - I'm another ID.</ div >
12
+ < div id =" two " > Number 2 - I'm one ID.</ div >
13
+ < p class =" three " > Number 3 - I'm a class, but cooler!</ p >
14
+ < div class =" four " > Number 4 - I'm another ID.</ div >
15
15
< p > Number 5 - I'm a class!</ p >
16
16
</ body >
17
17
</ html >
Original file line number Diff line number Diff line change
1
+ p {
2
+ background-color : lightcoral;
3
+ font-family : Verdana, sans-serif;
4
+ }
5
+ # two
6
+ {
7
+ color : blue;
8
+ font-size : 36px ;
9
+ }
10
+
11
+ .three {
12
+ font-size : 24px ;
13
+ }
14
+
15
+ .four {
16
+ background-color : lightgreen;
17
+ font-size : 24px ;
18
+ font-weight : bold;
19
+ }
Original file line number Diff line number Diff line change 8
8
< link rel ="stylesheet " href ="style.css ">
9
9
</ head >
10
10
< body >
11
- < button > Click Me!</ button >
12
- < button > No, Click Me!</ button >
11
+ < button class =" one " > Click Me!</ button >
12
+ < button class =" two " > No, Click Me!</ button >
13
13
</ body >
14
14
</ html >
Original file line number Diff line number Diff line change
1
+ .one , .two {
2
+ font-size : 28px ;
3
+ font-family : helvetica, 'Times New Roman' , sans-serif;
4
+ }
5
+
6
+ .one {
7
+ background-color : black;
8
+ color : white;
9
+ }
10
+
11
+ .two {
12
+ color : yellow;
13
+
14
+ }
15
+
Original file line number Diff line number Diff line change
1
+ .avatar .proportioned {
2
+ width : 300px ;
3
+ height : auto;
4
+
5
+ }
6
+
7
+ .avatar .distorted {
8
+ width : 200px ;
9
+ height : 400px ;
10
+ }
Original file line number Diff line number Diff line change
1
+ div p {
2
+ background-color : yellow;
3
+ color : red;
4
+ font-size : 20px ;
5
+ text-align : center;
6
+
7
+ }
Original file line number Diff line number Diff line change 2
2
font-family : Arial, Helvetica, sans-serif
3
3
}
4
4
5
+ .para {
6
+ font-size : 22px ;
7
+ }
8
+
5
9
.para ,
6
10
.small-para {
7
11
color : hsl (0 , 0% , 0% );
13
17
font-weight : 800 ;
14
18
}
15
19
16
- .para {
17
- font-size : 22px ;
20
+ .button {
21
+ background-color : rgb (255 , 255 , 255 );
22
+ color : rgb (0 , 0 , 0 );
23
+ font-size : 20px ;
18
24
}
19
25
20
26
.confirm {
@@ -23,20 +29,14 @@ body{
23
29
font-weight : bold;
24
30
}
25
31
26
- .button {
27
- background-color : rgb (255 , 255 , 255 );
32
+ div .text {
28
33
color : rgb (0 , 0 , 0 );
29
- font-size : 20px ;
34
+ font-size : 22px ;
35
+ font-weight : 100 ;
30
36
}
31
37
32
38
.child {
33
39
color : rgb (0 , 0 , 0 );
34
40
font-weight : 800 ;
35
41
font-size : 14px ;
36
42
}
37
-
38
- div .text {
39
- color : rgb (0 , 0 , 0 );
40
- font-size : 22px ;
41
- font-weight : 100 ;
42
- }
You can’t perform that action at this time.
0 commit comments