vue-directional-carousel
Version:
This is a Vue 3 component that allows you to set the direction of image movement not only vertically and horizontally but also in different directions (left, right, up, down).
2 lines (1 loc) • 627 B
CSS
.carousel-image-container[data-v-e58f5c3d]{position:relative;display:flex;justify-content:center;align-items:center}.carousel-image-loading[data-v-e58f5c3d],.carousel-image-error[data-v-e58f5c3d]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.loading-spinner[data-v-e58f5c3d]{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #3498db;border-radius:50%;animation:spin-e58f5c3d 1s linear infinite}.error-fallback[data-v-e58f5c3d]{padding:1rem;text-align:center;background-color:#f8f9fa;color:#dc3545}@keyframes spin-e58f5c3d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}