jquery答题卡切换式答题问卷调查小卡片效果代码
代码语言:html
所属分类:布局界面
代码描述:jquery答题卡切换式答题问卷调查小卡片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="format-detection" content="telephone=no" /><meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" /> <meta name="description" content=""><meta name="keywords" content=""> <style> body { line-height: 1; color: #333; width: 100%; margin: 0 auto; -webkit-text-size-adjust: none; overflow-x: hidden } p,ol,ul,li { list-style: none } a,span { line-height: 1; color: #333; text-decoration: none } button { outline: 0 } label { font-weight: normal } img { width: 100%; display: block } a img { word-break: break-all; word-wrap: break-word } a:hover,a:focus { text-decoration: none } :focus { outline: 0 } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-text-size-adjust: none } html,body { padding: 0; margin: 0 auto; height: 100%; font-size: 15px; max-width: 400px } * { -webkit-appearance: none; margin: 0; padding: 0 } a, span { color: inherit; line-height: inherit; text-decoration: none } img { width: auto } input { outline: none; } /** * CSS3 答题卡翻页效果 jQuery Transit * @authors Candice <286556658@qq.com> * @date 2016-9-27 15:30:18 * @version v1.0.8 */.wrapper { width: 100%; margin: 0 auto; } .card_wrap { width: 400px; height: 584px; position: relative; overflow: hidden; display: none } .card_cont { width: 100%; height: 530px; box-sizing: border-box; margin: 0 auto; position: absolute; background: url(//repo.bfw.wiki/bfwrepo/image/60fbeacc0e6d4.png) no-repeat center top; background-size: 100% auto; padding: 8px 20px 18px; transition: all ease .5s; -webkit-transition: all ease .5s; -moz-transition: all ease .5s; -ms-transition: all ease .5s; transform: scale(0,0); -moz-transform: scale(0,0); -ms-transform: scale(0,0); -o-transform: scale(0,0); -webkit-transform: scale(0,0); bottom: 0; display: none; } .card { width: 320px; height: 100%; position: relative; margin: 0 auto; padding: 0 18px; } .card .card_bottom { width: 100%; position: absolute; bottom: 28px; left: 0; box-sizing: border-box; padding: 0 28px } .card .card_bottom a { color: #c733c5; cursor: pointer } .card .card_bottom span { float: right; color: #909090 } .card .card_bottom span b { color: #666; font-weight: inherit } .card_cont.card1 { display: block; transform: scale(1,1) translate(0,0) !important; -ms-transform: scale(1,1) translate(0,0) !important; -moz-transform: scale(1,1) translate(0,0) !important; -webkit-transform: scale(1,1) translate(0,0) !important; } .card_cont.card2 { display: block; transform: scale(.85,.85) translate(0,-62px) !important; -ms-transform: scale(.85,.85) tr.........完整代码请登录后点击上方下载按钮下载查看
网友评论0