vue图片轮播图效果代码
代码语言:html
所属分类:幻灯片
代码描述:vue图片轮播图效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { background: #f8f8f8; color: #2c3e50; font-family: 'Source Sans Pro', sans-serif; } .card-carousel-wrapper { display: flex; align-items: center; justify-content: center; margin: 20px 0 40px; color: #666a73; } .card-carousel { display: flex; justify-content: center; width: 640px; } .card-carousel--overflow-container { overflow: hidden; } .card-carousel--nav__left, .card-carousel--nav__right { display: inline-block; width: 15px; height: 15px; padding: 10px; box-sizing: border-box; border-top: 2px solid #42b883; border-right: 2px solid #42b883; cursor: pointer; margin: 0 20px; transition: transform 150ms linear; } .card-carousel--nav__left[disabled], .card-carousel--nav__right[disabled] { opacity: 0.2; border-color: black; } .card-carousel--nav__left { transform: rotate(-135deg); } .card-carousel--nav__left:active { transform: rotate(-135deg) scale(0.9); } .card-carousel--nav__right { tra.........完整代码请登录后点击上方下载按钮下载查看
网友评论0