some component preparations

This commit is contained in:
2024-08-26 15:58:28 +02:00
parent 2843e5e3d7
commit f98710f51d
14 changed files with 310 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
.slider {
overflow: hidden;
position: relative;
}
.slider-container {
width: 100%;
height: 100%;
position: relative;
}
.slider-controls {
position: absolute;
font-size: 3rem;
top: calc( 50% - 1.5rem );
cursor: pointer;
user-select: none;
}
.slider-control-left {
left: 10px;
}
.slider-control-right {
right: 10px;
}
.slider-element {
width: 100%;
height: 100%;
position: absolute;
top: 0;
background-size: cover;
background-position: center;
}