File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 26
26
</ div >
27
27
</ div >
28
28
29
- < header class ="header header--home "> </ header >
29
+ < header class ="header header--home ">
30
+ < img src ="background.png " />
31
+ </ header >
30
32
</ body >
31
33
</ html >
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
.header {
26
- background-image : url ("background.png" );
27
26
font-family : Arial, Helvetica, sans-serif;
28
27
background-size : cover;
29
28
background-repeat : no-repeat;
30
29
background-origin : border-box;
31
- height : 500 px ;
30
+ height : 100 % ;
32
31
box-shadow : 1px 1px 1px rgba (0 , 0 , 0 , 0.5 );
33
- margin-bottom : 20px ;
32
+ /* margin-bottom: 20px; */
34
33
display : grid;
35
34
place-items : center;
36
- padding : 50px ;
35
+ /* padding: 50px; */
37
36
border-bottom-left-radius : 25px ;
38
37
border-bottom-right-radius : 25px ;
39
- padding-top : 25px ;
38
+ /* padding-top: 25px; */
40
39
}
41
40
42
- @media (min-width : 600px ) {
43
- .header--home {
44
- height : 725px ;
45
- }
41
+ .header--home {
42
+ overflow : hidden;
43
+ }
44
+
45
+ .header--home img {
46
+ margin-left : 0% ;
47
+ transform : translateX (0% );
48
+ width : 100% ;
46
49
}
47
50
48
51
@keyframes fade-and-come-down {
You can’t perform that action at this time.
0 commit comments