Comments (2)
.gearArea {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 12px;
background-color: rgba(0, 0, 0, 0.2);
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9900;
overflow: hidden;
animation-fill-mode: both
}
.area_ctrl {
vertical-align: middle;
background-color: #d5d8df;
color: #000;
margin: 0;
height: auto;
width: 100%;
position: absolute;
left: 0;
bottom: 0;
z-index: 9901;
overflow: hidden;
transform: translate3d(0, 0, 0)
}
.slideInUp {
animation: slideInUp .3s;
}
@Keyframes slideInUp {
from {
transform: translate3d(0, 100%, 0)
}
to {
transform: translate3d(0, 0%, 0)
}
}
.slideOutDown {
animation: slideOutDown .3s !important;
vertical-align: middle;
background-color: #d5d8df;
color: #000;
margin: 0;
height: auto;
width: 100%;
position: absolute;
left: 0;
bottom: -12.6rem;
z-index: 9901;
overflow: hidden;
transform: translate3d(0, 0, 0)
}
@Keyframes slideOutDown {
from {
transform: translate3d(0, -100%, 0)
}
to {
transform: translate3d(0, 0, 0)
}
}
.area_roll {
display: -webkit-box;
display: box;
display: -webkit-flex;
display: flex;
width: 100%;
height: auto;
overflow: hidden;
background-color: transparent;
}
.area_roll>div {
font-size: 1.6em;
height: 10em;
width:100%;
background-color: transparent;
position: relative;
overflow: hidden;
-webkit-box-flex: 1;
box-flex: 1;
-webkit-flex: 1;
flex: 1
}
.area_roll>div .gear {
width: 100%;
float: left;
position: absolute;
z-index: 9902;
margin-top: 4em
}
.area_roll_mask {
/-webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent);
-webkit-mask-box-image: linear-gradient(to top, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent);/
background: -webkit-gradient(linear, center top, center bottom, from(rgba(255,255,255,.8)), color-stop(0.25, rgba(255,255,255,.3)), color-stop(0.75, rgba(255,255,255,0)), to(rgba(255,255,255,.8)));
/background: -webkit-linear-gradient(top, rgba(255,255,255,.3) 25%, rgba(255,255,255,0) 75%, rgba(255,255,255,.3));
background: linear-gradient(top, rgba(255,255,255,.3) 25%, rgba(255,255,255,0) 75%, rgba(255,255,255,.3));/
padding: 0
}
.area_grid {
position: relative;
top: 4em;
width: 100%;
height: 2em;
margin: 0;
box-sizing: border-box;
z-index: 0;
border-top: 1px solid #abaeb5;
border-bottom: 1px solid #abaeb5
}
.area_roll>div:nth-child(3) .area_grid>div {
left: 42%
}
.area_btn {
color: #0575f2;
font-size: 1.6em;
line-height: 1em;
text-align: center;
padding: .8em 1em
}
.area_btn_box:before,
.area_btn_box:after {
content: '';
position: absolute;
height: 1px;
width: 100%;
display: block;
background-color: #96979b;
z-index: 15;
-webkit-transform: scaleY(0.33);
transform: scaleY(0.33);
}
.area_btn_box {
display: -webkit-box;
display: -moz-box;
display: box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-moz-box-pack: justify;
-ms-flex-pack: justify;
box-pack: justify;
-webkit-justify-content: space-between;
-moz-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: center;
-moz-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
-moz-align-items: center;
align-items: center;
background-color: #f1f2f4;
position: relative
}
.area_btn_box:before {
left: 0;
top: 0;
transform-origin: 50% 0%
}
.area_btn_box:after {
left: 0;
bottom: 0;
transform-origin: 50% 100%
}
.tooth {
height: 2em;
line-height: 2em;
text-align: center;
width:100%;
overflow: hidden
}
from larea.
@suface 这段样式可以解决楼主的那个问题吗?
from larea.
Related Issues (20)
- 如何获取选中的值
- Uncaught TypeError: Cannot read property 'nodeType' of undefined
- 样式我需要自己修改,但是修改完之后,省市区的位置都对不上了
- 滑动时点击确定报错
- 在个别手机上的省市区的排列乱了的问题
- 如何在更改样式行高后,滑动的结束后能够停留在一行?
- 用commonjs写法怎么模块的导出呢?
- ios下第二次点击input触发失败 HOT 1
- 大神本人小鸟一只 妄图修改三级为二级屡屡碰壁还请指点!!!!急得一匹!!!
- android部分机型不能滑动huawei6,vivo Y67是什么原因 HOT 1
- 这个是必须三级,如果是二级,或是一级怎么办呢? HOT 1
- 能不能直接遍历后台传回来的数据 HOT 2
- Uncaught TypeError: Cannot read property 'querySelectorAll' of null at MobileArea.setGearTooth (LArea.js:278)
- 移动端触发不了,PC完全没问题。急,大神求解答啊
- 当我选择地址的时候点击下面的地址会有一个报错,导致页面 HOT 2
- 手机端调不起来啊?支持手机吗
- 性能问题
- 不支持点击事件 HOT 1
- 移动端呼出时会出现按键的情况
- 无限循环报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larea.