h5固定表头公共样式

摘要:
˂metacontext=“yes”name=“a

    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="App-Config" content="fullscreen=yes,useHistoryState=yes,transition=yes">

css

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-y: scroll;
    /*-webkit-overflow-scrolling: touch;*/
}

body {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    background-color: #fff;
}

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
    display: block
}

audio,canvas,progress,video {
    display: inline-block;
    vertical-align: baseline;
    *display: inline;
    *zoom: 1
}

audio:not([controls]) {
    display: none;
    height: 0
}[hidden],template {
    display: none
}

a {
    background: transparent;
    text-decoration: none;
    color: #08c
}

a:active,a:hover {
    outline: 0
}

a:hover {
    color: #069
}

abbr[title] {
    border-bottom: 1px dotted
}

b,strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0;
    /*vertical-align: middle;*/
    -ms-interpolation-mode: bicubic
}

svg:not(:root) {
    overflow: hidden
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word
}

code,kbd,pre,samp {
    font-family: monospace, monospace;
    _font-family: 'courier new', monospace;
    font-size: 1em
}

button,input,optgroup,select,textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button,select {
    text-transform: none
}

button,html input[type="button"],input[type="reset"],input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible
}

button[disabled],html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"],input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    * 13px
}

input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0;
    *margin-left: -7px
}

textarea {
    overflow: auto;
    resize: vertical
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,th {
    padding: 0
}

q {
    quotes: none
}

html,button,input,select,textarea {
    font-family: "Helvetica Neue",Helvetica,Tahoma,sans-serif
}

h1,h2,h3,h4,h5,h6,p,figure,form,blockquote {
    margin: 0
}

ul,ol,li,dl,dd {
    margin: 0;
    padding: 0
}

ul,ol {
    list-style: none outside none
}

h1,h2,h3 {
    line-height: 2;
    font-weight: normal
}

h1 {
    font-size: 21px
}

h2 {
    font-size: 18.2px
}

h3 {
    font-size: 16.38px
}

h4 {
    font-size: 14px
}

h5,h6 {
    font-size: 11.9px;
    text-transform: uppercase
}

input:-moz-placeholder,textarea:-moz-placeholder {
    color: #ccc
}

input::-moz-placeholder,textarea::-moz-placeholder {
    color: #ccc
}

input:-ms-input-placeholder,textarea:-ms-input-placeholder {
    color: #ccc
}

input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {
    color: #ccc
}
/*# sourceMappingURL=reset.css.map */

/*font by yuncanqin 20151127*/
@media screen and ( min- 319px){html{ font-size: 100px;}}
@media screen and ( min- 359px){html{ font-size: 106px;}}
@media screen and ( min- 383px){html{ font-size: 112px;}}
@media screen and ( min- 399px){html{ font-size: 118px;}}
@media screen and ( min- 414px){html{ font-size: 120px;}}
@media screen and ( min- 423px){html{ font-size: 130px;}}
@media screen and ( min- 479px){html{ font-size: 140px;}}
body{ font-family: Microsoft YaHei,STXihei,sans-serif; font-size: 14px}
p{margin: 0}
*{ box-sizing: border-box;-webkit-tap-highlight-color:rgba(255,0,0,0);margin: 0;padding: 0}
:focus{outline:none;}
input,a,img{border:0;}
input[type=text],input[type=checkbox],input[type=button],input[type=date]{-webkit-appearance: none;}
input,button{ outline:none;-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent;}
html, body { 100%; min- 320px; max- 640px;margin: 0px auto; font-family: "Microsoft YaHei"; color: #333;background: #f0eff5;}
a{blr:expression(this.onFocus=this.blur())}

免责声明:文章转载自《h5固定表头公共样式》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇浅谈软件项目实施java中实现定时任务 task 或quartz下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

解决JS(Vue)input[type='file'] change事件无法上传相同文件的问题

一般的解决方法:Html <input id="file" type="file" onchange="upload()" /> JS 事件逻辑执行完之后执行: document.getElementById('file').value = null; Vue中 <input ref="referenceUpload" @change=...

uniapp——自定义input清除事件

效果图如下:  HTML: <view class="disF"> <view class="qhItem"> <view class="m-qhTit">取号人姓名:</view>...

Qt QSS QCheckBox和QRadioButton

导读      单选按钮(QRadioButton)和复选框(QCheckBox)是界面设计中的重要元素。单选按钮只允许用户在一组选项中选择一个,且当其中一个被选中的时候,按钮组中的其他单选按钮自动取消。复选框则可以让用户同时选中多个选项,这在多项选择的情况下非常有用。此外,复选框经过设置还具备第三种状态:未决状态(partially checked)。单...

Autoware(1)——快速开始

该部分可参照github Autoware中的 Demo Quick_Start。 1. 建立目录“.autoware”来保存demo数据 mkdir .autoware 2. 下载Demo数据下载demo数据: A script for generating a demo launch file: http://db3.ertl.jp/autowar...

如何给flash里面添加链接

解决思路:因为网页中的 Flash 是以控件形式出现的,优先级别较高,所以直接对它加链接是无效的,不过可以用按钮控件 BUTTON 来实现。 方案一: 直接在按钮上加上onClick事件打开指定页面,运行后单击按钮时,按钮中的Flash有个下沉的动作,如果要取消这个动作,可以禁止按钮的交互性,然后用标准的A标签做链接,代码如下: <a class="...

扫码枪扫码触发接口传递参数(实例)

前两天因为业务需要,研究了一下扫码枪,得出了两个笨方法,用于扫码后调用接口传输数据 方法一: 1.先生成一个二维码,改二维码里的数据就是你要请求需要向接口所传递的数据 2.然后写一个html页面,里面就放一个input框就好了,这个input框就是用来接收你二维码里面的数据的 3.写一段js,让用户打开页面后input自动永久聚焦 4.再写一段js,检测i...