mirror of
https://github.com/Alvin-Zilverstand/carsite.git
synced 2026-11-23 13:53:02 +01:00
xc
This commit is contained in:
1 parent
55da852d24
commit
8ac45b321b
1 file changed
+12
@@ -5,6 +5,18 @@ body {
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.lazy {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.lazy::before {
|
||||
content: '';
|
||||
display: block;
|
||||
padding-top: 100%; /* Adjust aspect ratio as needed */
|
||||
background-color: #f0f0f0; /* Placeholder color */
|
||||
}
|
||||
|
||||
.gallery {
|
||||
--size: 100px;
|
||||
display: grid;
|
||||
|
||||
Reference in new issue
Block a user