Add MC Cars mark SVG logo to frontend images
This commit is contained in:
+9
-2
@@ -260,7 +260,7 @@ section { padding: 5rem 0; }
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(11,12,16,0.6) 0%, rgba(11,12,16,0.95) 100%),
|
||||
var(--hero-bg, url('images/ferrari-main-car.png')) center / cover no-repeat;
|
||||
var(--hero-bg, url('images/ferrari-main-car-mobile.jpg')) center / cover no-repeat;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@@ -392,10 +392,17 @@ select:focus, input:focus, textarea:focus {
|
||||
.vehicle-photo {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 10;
|
||||
background: #0e1015 center / cover no-repeat;
|
||||
background: #0e1015;
|
||||
overflow: hidden;
|
||||
transition: transform 0.4s ease;
|
||||
}
|
||||
|
||||
.vehicle-photo img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.vehicle-card:hover .vehicle-photo {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user