xm-select/docs/fathom/fathom.sample.css
maplemei d54aa08565 v1.0.0.0727
1. 新增单选模式, {radio: true|false}
2. 新增重复选模式, {repeat: true|false}
3. 新增配置, 可以控制是否自动关闭下拉框, {clickClose: true|false}
4. 新增on方法, 可以监听已选择数据, data: {arr, item, selected}
2019-07-27 16:26:05 +08:00

95 lines
1.9 KiB
CSS
Executable File

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
input:focus {
outline: 0;
}
#presentation {
vertical-align: top;
white-space: nowrap;
}
div.slide {
-webkit-box-shadow: 0 0 50px #c0c0c0;
-moz-box-shadow: 0 0 50px #c0c0c0;
box-shadow: 0 0 50px #c0c0c0;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
display: inline-block;
height: 700px;
padding: 20px;
position: relative;
vertical-align: top;
width: 900px;
}
div.inactiveslide {
opacity: 0.4;
}
div.activeslide {
opacity: 1;
}
/* iPad */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
div.inactiveslide {
opacity: 1;
}
}
/* iPhone */
@media only screen and (max-device-width: 480px) {
div.inactiveslide {
opacity: 1;
}
}