移动端样式配置
来源:互联网 发布:淘宝二手手机3c认证 编辑:程序博客网 时间:2024/05/18 02:46
/* reset */
body,::after,
::before {
margin: 0;
padding: 0;
/*清除ios默认的点击时产生的高亮区块 rgba(0,0,0,0)*/
-webkit-tap-highlight-color: transparent;
tap-highlight-color:transparent;
/*定义盒子模型定义的宽度从边框计算*/
-webkit-box-sizing: border-box;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
img {
border: none;
vertical-align: top;
}
a {
-webkit-tap-highlight-color: transparent;
text-decoration: none;
color: #818788;
}
input {
border:0;
outline: none;
resize: none;
/*清楚ios浏览器默认的样式*/
-webkit-appearance: none;
}
/* 框架搭建 */
html {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
width: 100%;
font-family: "Microsoft YaHei" , "sans-serif";
font-size: 14px;
line-height: 1;
color: #333;
position: relative;
background: #f5f5f5;
}
/* 工具样式 */
.clearfix::after,
.clearfix::before{
clear: both;
content: '.';
height: 0;
line-height: 0;
visibility: hidden;
display: block;
}
/* 主体部分 */
body,::after,
::before {
margin: 0;
padding: 0;
/*清除ios默认的点击时产生的高亮区块 rgba(0,0,0,0)*/
-webkit-tap-highlight-color: transparent;
tap-highlight-color:transparent;
/*定义盒子模型定义的宽度从边框计算*/
-webkit-box-sizing: border-box;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
img {
border: none;
vertical-align: top;
}
a {
-webkit-tap-highlight-color: transparent;
text-decoration: none;
color: #818788;
}
input {
border:0;
outline: none;
resize: none;
/*清楚ios浏览器默认的样式*/
-webkit-appearance: none;
}
/* 框架搭建 */
html {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
width: 100%;
font-family: "Microsoft YaHei" , "sans-serif";
font-size: 14px;
line-height: 1;
color: #333;
position: relative;
background: #f5f5f5;
}
/* 工具样式 */
.clearfix::after,
.clearfix::before{
clear: both;
content: '.';
height: 0;
line-height: 0;
visibility: hidden;
display: block;
}
/* 主体部分 */
0 0
- 移动端样式配置
- 移动端样式
- 移动端样式重置
- 初始化移动端样式
- 移动端-css样式技巧
- 移动端样式小技巧
- 移动端样式小技巧
- 移动端样式小技巧
- 移动端样式注意问题
- 移动端样式小技巧
- 关于移动端样式处理
- 移动端文件上传-样式
- 移动端的样式重置
- 移动端复选框样式
- 移动端样式重置代码
- 移动端样式小技巧
- 移动端样式小技巧
- 移动端css样式设置
- TEE normal world侧实现分析
- 4.7
- 构建乘积数组
- 深度学习中的Data Augmentation方法
- C++类对象在各种内存区的构造函数析构函数执行顺序
- 移动端样式配置
- 源码分析-ArrayBlockingQueue
- C# 筛选并删除某一类文件夹
- iOS 多线程编程的安全问题
- 准备面试需要知道的经典算法--堆排序
- BFS(广搜) 骑士旅行
- DevStack环境搭建
- 解决MINGW64、Git Bash命令不能回退的问题
- 一篇故事讲述了计算机网络里的基本概念:网关,DHCP,IP寻址,ARP欺骗,路由,DDOS等