游戏卡通人物卡片动态展示效果幻灯片
代码语言:html
所属分类:幻灯片
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/reset.min.css"> <link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/slick.min.css"> <link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/slick-theme.min.css"> <style> @import url(https://fonts.googleapis.com/css?family=Lato:400,700,900); *, *:before, *:after { box-sizing: border-box; } body { background: -webkit-gradient(linear, left top, left bottom, from(#8c7a7a), color-stop(65%, #af877c), to(#af877c)) fixed; background: linear-gradient(to bottom, #8c7a7a 0%, #af877c 65%, #af877c 100%) fixed; background: url("http://repo.bfw.wiki/bfwrepo/image/5e32401972114.png") no-repeat center center fixed; background-size: cover; font: 14px/20px "Lato", Arial, sans-serif; color: #9E9E9E; margin-top: 30px; } .slide-container { margin: auto; width: 600px; text-align: center; } .wrapper { padding-top: 40px; padding-bottom: 40px; } .wrapper:focus { outline: 0; } .clash-card { background: white; width: 300px; display: inline-block; margin: auto; border-radius: 19px; position: relative; text-align: center; box-shadow: -1px 15px 30px -12px black; z-index: 9999; } .clash-card__image { position: relative; height: 230px; margin-bottom: 35px; border-top-left-radius: 14px; border-top-right-radius: 14px; } .clash-card__image--barbarian { background: url("http://repo.bfw.wiki/bfwrepo/image/5e32401972114.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_370,h_370,/quality,q_90"); } .clash-card__image--barbarian img { width: 400px; position: absolute; top: -65px; left: -70px; } .clash-card__image--archer { background: url("http://repo.bfw.wiki/bfwrepo/image/5e32401972114.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_370,h_370,/quality,q_90"); } .clash-card__image--ar.........完整代码请登录后点击上方下载按钮下载查看
网友评论0