移动端的样式重置(CSS RESET)
2024-09-06 11:44:06
/**********
* reset
*********/
* {box-sizing: border-box; -webkit-tap-highlight-color: rgba(0,0,0,0);}
body,
dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6,
pre, code, form, fieldset, legend, input, textarea,
p, blockquote, th, td, hr, button,
article, aside, details, figcaption, figure, footer, header, menu, nav, section {
margin: 0;
padding: 0;
border: 0;
}
/* 默认不要下划线 */
a {text-decoration: none;}
/* 按钮文本不可选 */
button {user-select: none;}
img {vertical-align: middle;}
/* 加载不出来的图片不要显示灰色边框 */
img:not([src]),img[src=""] {opacity: 0;}
ul, ol {list-style: none;}
table {border-collapse: collapse; border-spacing: 0;}
input, select, button, textarea {font-size: 100%; font: inherit;}
html, body {height: 100%; overflow-x: hidden;}
最新文章
- jQuery获取及设置单选框、多选框、文本框内容
- viewTemplate
- android 消息机制
- $(";:input";).each()和$.each()的区别
- Cobub Razor
- Advanced Scene Processing
- 23.allegro中自动布线[原创]
- jquery倒计时(仿团购)转至 http://justcoding.iteye.com/blog/2210962
- Route@简单应用
- poj 1328 Radar Installation (简单的贪心)
- JavaScript预处理
- 二:Linux 的基本命令、VI编辑器、Linux中软件安装
- kali linux工具--信息批量收集工具theharvester
- springboot整合JPA(简单整理,待续---)
- Atlas &; mysql-proxy
- 渗透测试工具之sqlmap
- fyzcms---相关文章推荐功能
- (转)Unity3D中脚本的执行顺序和编译顺序(vs工程引用关系)
- sublime同步文件与siderbar
- 24. (ora-01410无效的rowid)临时表 on commit delete rows 与 on commit preserve rows 的区别
热门文章
- [php代码审计] 通读审计之shangfancms
- SpringMVC(3):AJAX
- 【Linux】【Services】【SaaS】Docker+kubernetes(7. 安装Docker私有镜像仓库)
- 通过Jedis操作Redis
- AD小白如何发板厂制板--导出gerber文件和钻孔文件+嘉立创下单教程
- 《转》谈谈基于Kerberos的Windows Network Authentication
- 人工水母搜索算法—matlab代码
- bjdctf r2t3 onegadget
- 替换错误Table.ReplaceErrorValues(Power Query 之 M 语言)
- 爆款预订,2022 年最值得关注的后台框架 —— Fantastic-admin