File tree 1 file changed +4
-23
lines changed
1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change 14
14
color : # ccc ;
15
15
}
16
16
body { font-size : 2rem } /* 2rem = 20px in our setup. */
17
- html button {
18
- font-size : 2rem ;
19
- cursor : pointer;
20
- color : # fff ;
21
- text-shadow : 0 2px # 000000AA ;
22
- padding : 2rem 2.4rem ;
23
- margin : 2rem ;
24
- background : hsl (345 100% 47% );
25
- border : 0 ;
26
- border-bottom : 0.5rem solid hsl (345 100% 28% );
27
- border-radius : 12px ;
28
- transition : all 0.3s ;
29
- & : hover { background : hsl (345 100% 60% ); transform : translateY (-0.2rem ) }
30
- & : active { transform : translateY (0.2rem ) }
31
- }
17
+ html button { font-size : 2rem ; cursor : pointer; color : # fff ; text-shadow : 0 2px # 000000AA ; padding : 2rem 2.4rem ; margin : 2rem ; background : hsl (345 100% 47% ); border : 0 ; border-bottom : 0.5rem solid hsl (345 100% 28% ); border-radius : 12px ; transition : all 0.3s ; }
18
+ html button : hover { background : hsl (345 100% 60% ); transform : translateY (-0.2rem ) }
19
+ html button : active { transform : translateY (0.2rem ) }
32
20
</ style >
33
21
</ head >
34
22
< body >
45
33
< div >
46
34
< style >
47
35
.me {
48
- font-family : 'Noto Sans' , sans-serif;
49
- background : hsl (264 62% 20% );
50
- border : none;
51
- border-radius : 12px ;
52
- box-shadow : 0 2px 5px # 00000044 ;
53
- padding : 10px 20px ;
54
- color : # fff ;
55
- margin : 20px ;
36
+ font-family : 'Noto Sans' , sans-serif; background : hsl (264 62% 20% ); border : none; border-radius : 12px ; box-shadow : 0 2px 5px # 00000044 ; padding : 10px 20px ; color : # fff ; margin : 20px ;
56
37
/* CSS Nesting works! */
57
38
& span {
58
39
background : hsl (264 90% 90% );
You can’t perform that action at this time.
0 commit comments