babylon_timeline/style.css

29 lines
668 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;
}
2024-05-02 11:30:46 +02:00
#image-container {
2024-04-22 19:28:46 +02:00
overflow: visible; /* Allow images to overflow */
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
#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%;
}