File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1313 grid-auto-flow : row;
1414 height : 100vh ;
1515 width : auto;
16- font-size : 1 rem ;
16+ font-size : clamp ( 0.8 rem , 1 vw , 1.2 rem ) ;
1717 place-items : center;
1818 will-change : contents;
1919
2020 & .letter {
2121 grid-area : letter;
22- font-size : 18 em ;
22+ font-size : clamp ( 10 em , 20 vw , 25 em ) ;
2323 color : var (--letter__txt--2 );
24+ padding-left : 10vh ;
2425 transition : color 0.5s ease-in;
2526 }
2627
2728 & .emoji {
2829 grid-area : emoji;
29- font-size : 10 em ;
30+ font-size : clamp ( 6 em , 15 vw , 18 em ) ;
3031 }
3132
3233 & .animation {
3940 grid-area : spelling;
4041 grid-column : 1 / 3 ;
4142 grid-row : 2 / 3 ;
42- width : 6ch ;
43+ width : clamp ( 6ch , 50 vw , 12 ch ) ;
4344 white-space : nowrap;
4445 overflow : hidden;
4546 border-right : 3px solid;
4647 font-family : monospace;
47- font-size : 8 em ;
48+ font-size : clamp ( 4 em , 10 vw , 12 em ) ;
4849 transition : all 0.5s ease-in-out;
4950 color : var (--spelling__txt--3 );
5051 }
You can’t perform that action at this time.
0 commit comments