babylon_timeline/style.css

33 lines
845 B
CSS
Raw Normal View History

2024-04-22 19:28:46 +02:00
/* style.css */
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
overflow: hidden; /* Prevent body from scrolling */
}
2024-05-02 11:30:46 +02:00
#image-container {
2024-04-22 19:28:46 +02:00
overflow: visible; /* Allow images to overflow */
width: 100vw; /* Full viewport width */
height: auto; /* Height determined by image heights */
position: relative; /* Base positioning for relative image movement */
}
img {
display: block;
position: relative; /* Relative positioning */
transition: left 0.3s ease; /* Smooth left transition */
2024-05-02 11:30:46 +02:00
width: 100vw;
2024-04-22 19:28:46 +02:00
}
2024-05-02 11:30:46 +02:00
#slider-container {
2024-04-22 19:28:46 +02:00
position: relative; /* Ensure sliders are positioned relative to the viewport */
width: 100%; /* Full width sliders */
z-index: 1000; /* Above images for easier access */
}
2024-05-02 11:30:46 +02:00
#slider {
width: 100%;
}