File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 33 < head >
44 < meta charset ="UTF-8 " />
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6- < title > Document </ title >
6+ < title > Intersection Observer Exercise </ title >
77 < link rel ="stylesheet " href ="styles.css " />
88 </ head >
99 < body >
Original file line number Diff line number Diff line change 1+ * {
2+ box-sizing : border-box;
3+ margin : 0 ;
4+ padding : 0 ;
5+ }
6+
17.hero {
28 width : 100% ;
39 height : 100vh ; /* Always fill the full viewport height */
2834.hero-title {
2935 grid-area : 1 / 1 ;
3036 color : # fff ;
31- font-size : 4 rem ;
37+ font-size : 6 vw ;
3238 font-weight : 700 ;
3339 text-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.7 );
3440 z-index : 1 ;
5157
5258# my-work {
5359 padding : 3rem 0 ;
60+ margin : auto 5rem ;
5461 background : # fff ;
5562 text-align : center;
5663}
5764
5865# my-work h2 {
59- font-size : 2 rem ;
66+ font-size : 5 vw ;
6067 margin-bottom : 2rem ;
6168}
6269
You can’t perform that action at this time.
0 commit comments