UNPKG

eapp

Version:
224 lines (200 loc) 3.65 kB
html, body { margin: 0; padding: 0; } html, body { height: 100%; } /*页面布局,flex定住头部和底部*/ .root { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } /*.head{*/ /*height: 60px;*/ /*background-color: #4d75bb;*/ /*}*/ .statusBar{ height: 20px; background: #2484E8; } .titleBar { display: flex; flex-direction: row; justify-content: space-between; align-items: center; background: #2484E8; padding: 10px 0; } .titleBar > button { margin: 0 6px; } .titleBar > span { flex: 1; font-size: 1.6rem; color: white; text-align: center; } .content_wrap { position: absolute; top: 72px; bottom: 30px; left: 0; right: 0; overflow: hidden; overflow-y: scroll; /*超出垂直部分可滚动*/ /*解决ios手机列表滑动不顺畅问题*/ -webkit-overflow-scrolling: touch; } .bottom { height: 30px; background-color: #0a456f; position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 16px; line-height: 30px; color: #ffffff; } .status_wrap { /* margin: 5px 0px 15px 0px; */ margin-top: 25px; } .icon_wrap { text-align: center; /*height: 150px;*/ padding-top: 30px; padding-bottom: 10px; } /*.icon_wrap > img {*/ /*width: 130px;*/ /*height: 130px;*/ /*}*/ .demo_wrap { text-align: center; } .txt_wrap { margin: 10px 10px 0px 10px; } .txt_wrap > textarea { width: 90%; height: 120px; border: #0b7ecb 2px solid; font-size: 1.4rem; /*font-family: cursive;*/ line-height: 1.8rem; padding: 8px 12px; } .tipMsg { margin-left: 17px; } .btn.startBtn { margin: 30px 50px; /*padding: 11px 0px;*/ } h1 { font-size: 24px; font-weight: normal; margin: 0px; overflow: visible; padding: 0px; text-align: center; } @keyframes fade { from { opacity: 1.0; } 50% { opacity: 0.4; } to { opacity: 1.0; } } @-webkit-keyframes fade { from { opacity: 1.0; } 50% { opacity: 0.4; } to { opacity: 1.0; } } #status { font-size: 12px; animation: fade 3000ms infinite; -webkit-animation: fade 3000ms infinite; } .blink { animation: fade 3000ms infinite; -webkit-animation: fade 3000ms infinite; } /** *-------魔方----------- */ .fang{ margin: 0 auto; /*padding: 20px 20px;*/ height: 60px; clear: both; } ul{ position: relative; width: 60px; height: 60px; transform-style: preserve-3d; /*margin: 120px auto;*/ animation: run 10s infinite linear; } li{ list-style: none; width:60px; height: 60px; text-align: center; line-height: 60px; color: white; font-weight: bold; position: absolute; left: 0; top: 0; opacity: 0.7; } li:first-child{ background: url("images/icon_Eapp72.png") no-repeat center; transform: translateZ(30px) } li:nth-child(2){ background: green; transform: translateY(-30px) rotateX(90deg); } li:nth-child(3){ background: pink; transform: translateY(30px) rotateX(90deg); } li:nth-child(4){ background: orange; transform: translateX(-30px) rotateY(90deg); } li:nth-child(5){ background: blue; transform: translateX(30px) rotateY(90deg); } li:nth-child(6){ background: url("images/icon_Eapp72.png") no-repeat center; transform: translateZ(-30px); } @keyframes run { 0%{ transform:rotateX(0deg) rotateY(0deg); } 100%{ transform:rotateX(360deg) rotateY(360deg); } }