feat: add image zoom, remove unused things

This commit is contained in:
2024-12-15 00:10:31 +01:00
parent f77e921b81
commit ad04647359
4 changed files with 11 additions and 21 deletions

View File

@@ -1,19 +0,0 @@
.content-element {
margin: 2rem auto;
padding: 2rem;
background-color: #f5f5f5; // default background
// Apply responsive widths at breakpoints using the respond mixin
&--blue {
background-color: #cceeff;
}
&--gray {
background-color: #eeeeee;
}
&--image {
background: url('EXT:my_sitepackage/Resources/Public/Images/background-image.jpg') no-repeat center/cover;
}
}

View File

@@ -0,0 +1,9 @@
a {
img {
transition: transform 0.3s ease;
}
&:hover img {
transform: scale(1.05);
}
}