HTML5移动端通用css
来源:互联网 发布:mac怎么换桌面 编辑:程序博客网 时间:2024/06/06 02:17
HTML5移动端通用css
下面是common.css内容
/*css初始化*//*清除内外边距*/body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,img{margin: 0;padding: 0;border: medium none;}h1,h2,h3,h4,h5,h6{font-size: 100%;}*{box-sizing:border-box;}em{font-style: normal;}/*重置列表元素*/ul,li{list-style: none;}/*重置超链接元素*/a{text-decoration: none;color: #333333;}a:hover{text-decoration: underline;color: #f40;}/*重置图片元素*/img{border: 0px;vertical-align:middle;}/*重置表格元素*/table{border-collapse: collapse;border-spacing: 0;}html,body{font-size:11px;font-family:Helvetica;height: 100%;color: #333;}
@media screen and (max-width:320px){html,body {font-size:11px}}@media screen and (min-width:321px) and (max-width:375px){html,body {font-size:12px}}@media screen and (min-width:376px) and (max-width:414px){html,body {font-size:13px}}@media screen and (min-width:415px) and (max-width:639px){html,body{font-size:15px}}@media screen and (min-width:640px) and (max-width:719px){html,body{font-size:20px}}@media screen and (min-width:720px) and (max-width:749px){html,body{font-size:22.5px}}@media screen and (min-width:750px) and (max-width:799px){html,body{font-size:23.5px}}@media screen and (min-width:800px){html,body{font-size:25px}}.icon{height: 1.5rem;vertical-align: middle;}/*头部*/.l_header { position: relative; height: 48px; background: rgba(0,0,0,.1); color: #fff; text-align: center; line-height: 48px; font-size: 1.3rem; background-color: #48C23D; /* background: -webkit-linear-gradient(left,#5191FF, #3CA8FE,#29C1FE,#38BAFE); */}.l_header a img { width: 30px; position: absolute; top: 9px; left: 10px;}/** 无数据 */.no-result{ display:none; padding-top: 30px; text-align: center; font-size: 14px;}.no-result img{ width: 273px; height: 56px; margin-bottom: 5px;}.no-result text{ width: 100%; color: #666; float: left;}
阅读全文
0 0
- HTML5移动端通用css
- 移动web全局通用CSS
- html5移动开发--css实用技巧
- Web移动应用:HTML5,CSS和JavaScript
- Day1(移动开发基础-html5+css入门)
- 移动端js+html5
- html5移动端开发
- HTML5移动端优化
- html5移动端日历
- JEECG 移动端解决方案【HTML5】
- 移动端HTML5应用程序调试
- 移动端 HTML5开发工具
- html5移动端手势事件
- html5移动端知识点总结
- html5移动端启动APP
- html5移动端Meta设置
- html5移动端常见问题集锦
- HTML5 移动端 手指事件
- LeetCode Find K-th Smallest Pair Distance
- Linux服务器编程——Linux基础命令
- Node js 写 hello word
- vtk视图设置
- 人脸识别之读取csv文件(opencv)
- HTML5移动端通用css
- 浅析Binary Search -- 正常的Binary Search和两种延伸用途。
- Java 开发基础规范
- IEC-60870-5-104 scada
- 侯捷老师的虚函数和多态小结
- mapreduce on yarn简单内存分配解释
- C/C++ 中的数据类型
- Node介绍
- VMware中redhat桥接上网