博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【css初始化】统一规范样式 base.css 样式应该怎样写?
阅读量:4607 次
发布时间:2019-06-09

本文共 1474 字,大约阅读时间需要 4 分钟。

body,div,dl,dt,dd,ol,h1,h2,h3,h4,h5,h6,form,input,p,th,td{
margin:0;padding:0;}*{
margin: 0;padding:0;}img{
border:0;}ul {
margin:0;padding:0;}/ul li {
list-style:none;}input,textarea {
outline: none;background:none;border:none;}.clearfix:after{
content: ""; display: block; clear: both; visibility: hidden; height: 0;}.wrap *{
box-sizing: border-box; background-repeat: no-repeat; -webkit-tap-highlight-color: rgba(0,0,0,0); tap-highlight-color: rgba(0,0,0,0); -webkit-appearance: none; -moz-appearance: none; appearance: none; -webkit-focus-ring-color: rgba(0,0,0,0); focus-ring-color: rgba(0,0,0,0); resize: none; outline: 0;} /*表单常用处理方法*/ /*数量加减时,禁止双击选中*/ span.num{ moz-user-select: -moz-none;-moz-user-select: none;-o-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none; } /*清除焦点高亮*/ input {outline: none;} input::-ms-clear{display:none;} ::-ms-clear, ::-ms-reveal{display: none;} /*清除输入时背景变黄*/ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {background-color:none !important;background-image: none !important;color: rgb(0, 0, 0) !important;   -webkit-box-shadow: 0 0 0px 1000px white inset; } /*修改placeholder默认颜色*/ ::-moz-placeholder{color:#838383;}              //Firefox ::-webkit-input-placeholder{color:#838383;}     //Chrome,Safari :-ms-input-placeholder{color:#838383;}          //IE10

 

转载于:https://www.cnblogs.com/shimily/articles/9633135.html

你可能感兴趣的文章
Rxjs6学习
查看>>
Git的安装和使用教程详解
查看>>
VMware下载及安装使用方法
查看>>
更新码云仓库代码
查看>>
微信小程序view居中
查看>>
使用bootstrap框架
查看>>
微信小程序的view标签中text如何居中?
查看>>
vue全局变量赋初值赋新值globalVariable
查看>>
vue页面跳转兄弟组件传值
查看>>
vue全局变量apiurl
查看>>
本地项目传码云
查看>>
cmd如何进入文件夹
查看>>
微信小程序提示云函数部署不成功
查看>>
微信小程序判断 wx:if wx:else
查看>>
微信小程序没找到构建npm或者没找到node_modules目录
查看>>
微信小程序 单选框实现
查看>>
微信小程序 单选按钮的实现
查看>>
微信小程序 单选按钮 最佳
查看>>
微信小程序动态显示标签文字或者按钮文字
查看>>
微信小程序 云开发 数据库 请求数据
查看>>