*, *::before, *::after { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; } .carousel-container { display: -webkit-box; display: -ms-flexbox; display: flex; } .carousel-container .root .carousel { /* border: 2px solid black; */ position: relative; overflow: hidden; /* -webkit-box-shadow: 0 0 16px black; */ /* box-shadow: 0 0 16px black; */ } .carousel-container .root .carousel > .inner { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } .carousel-container .root .carousel > .inner img { width: 100%; -ms-flex-negative: 0; flex-shrink: 0; -webkit-transition: opacity 500ms ease; transition: opacity 500ms ease; } .carousel-container .root .carousel > .inner.loaded img { opacity: 0; } .carousel-container .root .carousel .left, .carousel-container .root .carousel .right { position: absolute; width: 50px; top: 0; bottom: 0; z-index: 10; } .carousel-container .root .carousel .left::after, .carousel-container .root .carousel .right::after { font-size: 40px; font-weight: bold; color: rgba(255, 255, 255, 0.25); position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); z-index: 20; } .carousel-container .root .carousel .left:hover, .carousel-container .root .carousel .right:hover { cursor: pointer; } .carousel-container .root .carousel .left:hover::after, .carousel-container .root .carousel .right:hover::after { color: rgba(255, 255, 255, 0.75); } .carousel-container .root .carousel .left { left: 0; } .carousel-container .root .carousel .left::after { content: "<"; } .carousel-container .root .carousel .right { right: 0; } .carousel-container .root .carousel .right::after { content: ">"; } .carousel-container .root .dots { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; display: -webkit-box; display: -ms-flexbox; display: flex; } .carousel-container .root .dots .dot { background-color: black; width: 10px; height: 10px; margin: 10px; border-radius: 50%; position: relative; } .carousel-container .root .dots .dot:hover { cursor: pointer; } .carousel-container .root .dots .dot::after { content: ""; border-radius: 50%; position: absolute; border: 2px solid black; top: -4px; left: -4px; right: -4px; bottom: -4px; opacity: 0; -webkit-transition: opacity 500ms ease-in-out; transition: opacity 500ms ease-in-out; } .carousel-container .root .dots .dot.active::after { opacity: 1; -webkit-transition: opacity 500ms ease-in-out; transition: opacity 500ms ease-in-out; } /*# sourceMappingURL=style.css.map */