This commit is contained in:
Daniel Heras Quesada committed 2023-09-15 16:02:08 +02:00
1 parent 14b32ac1ac
commit fe912888e4
6 files changed
+221 -97

No files matched your search

BIN
View File
Binary file not shown.
+30
View File
@@ -213,6 +213,31 @@ body {
.feature-box:hover {
transform: translateY(-1.5rem) scale(1.03); }
.card {
perspective: 150rem;
-moz-perspective: 150rem;
position: relative;
height: 50rem; }
.card__side {
color: #fff;
font-size: 2rem;
height: 50rem;
transition: all .8s ease;
position: absolute;
top: 0;
left: 0;
width: 100%;
backface-visibility: hidden; }
.card__side--front {
background-color: #fff; }
.card__side--back {
transform: rotateY(180deg);
background-color: green; }
.card:hover .card__side--front {
transform: rotateY(180deg); }
.card:hover .card__side--back {
transform: rotateY(0); }
.header {
height: 95vh;
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.801), rgba(40, 180, 133, 0.808)), url("../img/hero.jpg");
@@ -282,3 +307,8 @@ body {
transform: skewY(-7deg); }
.section-features > * {
transform: skewY(7deg); }
.section-tours {
background-color: #f7f7f7;
padding: 25rem 0 50rem 0;
margin-top: -10rem; }