Natours project finished
This commit is contained in:
1 parent
89845b8e1c
commit
a23934d6d0
19 files changed
+15487
-1087
No files matched your search
@@ -1,31 +1,36 @@
|
||||
.header {
|
||||
height: 95vh;
|
||||
background-image: linear-gradient(
|
||||
to right bottom,
|
||||
rgba($color-primary-light, 0.8),
|
||||
rgba($color-primary-dark, 0.8)),
|
||||
height: 85vh;
|
||||
background-image: linear-gradient(
|
||||
to right bottom,
|
||||
rgba($color-primary-light, 0.8),
|
||||
rgba($color-primary-dark, 0.8)
|
||||
),
|
||||
url(../img/hero.jpg);
|
||||
background-size: cover;
|
||||
background-position: top;
|
||||
position: relative;
|
||||
background-size: cover;
|
||||
background-position: top;
|
||||
position: relative;
|
||||
|
||||
@supports (clip-path: polygon(0 0)) or (-webkit-clip-path: polygon(0 0)) {
|
||||
height: 95vh;
|
||||
-webkit-clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
||||
clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
||||
}
|
||||
|
||||
&__logo-box {
|
||||
position: absolute;
|
||||
top: 4rem;
|
||||
left: 4rem;
|
||||
}
|
||||
&__logo-box {
|
||||
position: absolute;
|
||||
top: 4rem;
|
||||
left: 4rem;
|
||||
}
|
||||
|
||||
&__logo {
|
||||
height: 3.5rem;
|
||||
}
|
||||
|
||||
&__text-box {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
&__logo {
|
||||
height: 3.5rem;
|
||||
}
|
||||
|
||||
&__text-box {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user