1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| .parallax {
position: relative;
width: 100%;
height: 1000px;
margin-top: 0px;
overflow: hidden;
z-index: 9;
margin-bottom: 0px;
}
.parallax img {
position: absolute;
bottom: 0px;
left: 0;
width: 100%;
min-height: 100%;
height: 1264px;
object-fit: cover;
}
#parallax_bloc {
position: absolute;
width: 50%;
margin-top: 120px;
margin-left : 50px;
color: black;
padding: 20px;
border: none;
float: left;
font-family: 'Raleway', Arial, sans-serif; font-size: 2em;
}
#parallax_bloc h1 {
color: #CC0066;
font-family: 'Alfa Slab One', cursive, Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
font-size: 10vw;
display: inline;
line-height: 80%;
}
#parallax_bloc h2{
color: black;
font-family: 'Raleway', Arial, sans-serif; font-size: 20px;
line-height: 30px;
margin-top: 30px
} |
Partager