feat: add image zoom, remove unused things
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
a {
|
||||
img {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
&:hover img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user