summaryrefslogtreecommitdiff
path: root/client/src/components/Carousel.css
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components/Carousel.css')
-rw-r--r--client/src/components/Carousel.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/client/src/components/Carousel.css b/client/src/components/Carousel.css
new file mode 100644
index 0000000..e2fbc1c
--- /dev/null
+++ b/client/src/components/Carousel.css
@@ -0,0 +1,24 @@
+.carousel-container {
+ height: 100%;
+ width: 100%;
+}
+
+.carousel {
+ overflow: hidden;
+ height: 100%;
+ width: 100%;
+}
+
+.carousel-slide {
+ display: none;
+}
+
+.carousel-slide.active-slide {
+ display: flex;
+}
+
+.carousel img {
+ width: 100%;
+ max-height: 100vh;
+ object-fit: cover;
+}