纯CSS3⼿风琴列表ui界⾯设计带动画效果
IE浏览不⽀持IE9及以下浏览器。使⽤纯CSS3制作的动感垂直⼿风琴列表ui界⾯设计效果。该⼿风琴特效设计时尚,颜⾊搭配⾮常好,每次点击⼿风琴项时都带有很酷的动画效果。HTML结构该⼿风琴特效的每⼀个⼿风琴项使⽤的是元素和元素的组合。在元素中放置的是每⼀个⼿风琴项的具体内容。
8am - 10am
Jamie talks design用微笑带过
皮普保罗
Monday - Thursday观赏龟的种类
北京申奥成功
I talk a bunch of rubbish
More information
......
CSS样式⼿风琴的包裹元素div.app使⽤绝对定位,设置为固定的宽度和⾼度,以及⼀些阴影效果。同时使⽤帧动画来在页⾯加载时为⼿风琴添加⼀些放⼤和旋转的效果。.app { border-radius: 10px; width: 34感情线图解
0px; margin: 0 auto; height: 414px; position: absolute; left: 0; top: 35%; box-shadow: 4px 5px 0px rgba(0, 0, 0, 0.11); -webkit-animation: intro 0.34s 0.4s cubic-bezier(1, 1.4, 0.41,
1.01) forwards; animation: intro 0.34s 0.4s cubic-bezier(1, 1.4, 0.41, 1.01) forwards; -webkit-transform: translateY(-50%) scale(0) rotateX(10deg) rotateY(10deg) rotateZ(10deg); transform: translateY(-50%) scale(0) rotateX(10deg)
rotateY(10deg) rotateZ(10deg); margin: auto; overflow: hidden; font-family: "Roboto Condend", sans-rif;} 接着在每⼀个⼿风琴项中,使⽤checkBox hack技术来设置⼿风琴项选中和未选中时,⼿风琴项中的左右侧内容的动画效果。.app_inner { position: relative;}.app_inner input[type="radio"] { display: none;}.app_inner input[type="radio"]:checked + label .app_inner__tab { height: 175px;}.app_inner input[type="radio"]:checked + label .app_inner__tab .tab_right { top: 39px; -webkit-transition: all
0.3s 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955); transition: all 0.3s 0.2s cubic-bezier(0.455, 0.03, 0.515,
0.955);}.app_inner input[type="radio"]:not(checked) + label .app_inner__tab { height: 80px; border-left: 12px solid rgba(0, 0, 0, 0.12);}.app_inner input[type="radio"]:not(checked) + label .app_inner__t
ab .tab_right { top: 200px; -webkit-transition: all 0.3s 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955); transition: all 0.3s 0.3s cubic-bezier(0.455, 0.03, 0.515,
改变自己的说说
0.955);}.app_inner input[type="radio"]:checked + label .app_inner__tab .tab_left .tab_left__image { -webkit-animation: move_in 0.55s 0.05s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards; animation: move_in 0.55s 0.05s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards; -webkit-transition: all 0.3s 0.36s cubic-bezier(0.455, 0.03, 0.515, 0.955); transition: all 0.3s 0.36s cubic-bezier(0.455, 0.03, 0.515, 0.955);}.app_inner input[type="radio"]:not(checked) + label .app_inner__tab .tab_left
.tab_left__image { -webkit-animation: move_out 0.75s 0s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards; animation:
我最喜欢的动物英语作文move_out 0.75s 0s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards; -webkit-transition: all 0.3s 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955); transition: all 0.3s 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);}.app_inner
input[type="radio"]:checked + label .app_inner__tab .tab_left .big { left: 260px;}.app_inner input[type="radio"]:not(checked) + label .app_inner__tab .tab_left .big { left: 400px;}.app_inner input[type="radio"]:checked + label .app_inner__tab h2 i { opacity: 0;}.app_inner input[type="radio"]:n
ot(checked) + label .app_inner__tab h2 i { opacity: .3;}
射干的功效与作用dd: