css初始化标签属性--源码
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td { margin:0; padding:0; }
body { font-size:14px; color:#333; font-family: Microsoft YaHei, Simsun;}
fieldset, img { border:0; }
ol, ul { list-style:none; }
h1, h2, h3, h4, h5, h6{ font-size:100%; font-weight: normal;}
em { font-style:normal; }
input, button, select, textarea { outline:none; }
textarea { resize:none; } /*//禁用了文本的拖拉,尤其在谷歌下*/
p{ text-align:justify; text-justify:distribute;} /*//为了使文本段落左右两边对齐*/
a { color: #333; text-decoration: none;}
a:hover { text-decoration: none;}
*{ -webkit-transition: all .2s ;
-moz-transition: all .2s ;
-ms-transition: all .2s ;
-o-transition: all .2s ;
transition: all .2s ;}
input:-webkit-autofill {-webkit-box-shadow: 0 0 0px 1000px #f9fdff inset !important; }
input::-ms-clear{display:none;}
.fl{float: left;}
.fr{float: right;}
/*清除浮动*/
.clearfix:after{height: 0;display: block;visibility: hidden;clear: both;content: "";}
.clearfix{*zoom:1;}
/*行内边距*/
.p5{padding: 5px;} .p10{padding: 10px;} .p15{padding: 15px;} .p20{padding: 20px;}
/*内边距左:1=10*/
.pl1{padding-left: 1px;} .pl2{padding-left: 2px;} .pl3{padding-left: 3px;} .pl4{padding-left: 4px;} .pl5{padding-left: 5px;} .pl6{padding-left: 6px;} .pl7{padding-left: 7px;} .pl8{padding-left: 8px;} .pl9{padding-left: 9px;} .pl10{padding-left: 10px;}
/*内边距右:1=10*/
.pr1{padding-right: 1px;} .pr2{padding-right: 2px;} .pr3{padding-right: 3px;} .pr4{padding-right: 4px;} .pr5{padding-right: 5px;} .pr6{padding-right: 6px;} .pr7{padding-right: 7px;} .pr8{padding-right: 8px;} .pr9{padding-right: 9px;} .pr10{padding-right: 10px;}
/*内边距上:1=10*/
.pt1{padding-top: 1px;} .pt2{padding-top: 2px;} .pt3{padding-top: 3px;} .pt4{padding-top: 4px;} .pt5{padding-top: 5px;} .pt6{padding-top: 6px;} .pt7{padding-top: 7px;} .pt8{padding-top: 8px;} .pt9{padding-top: 9px;} .pt10{padding-top: 10px;}
/*内边距下:1=10*/
.pb1{padding-bottom: 1px;} .pb2{padding-bottom: 2px;} .pb3{padding-bottom: 3px;} .pb4{padding-bottom: 4px;} .pb5{padding-bottom: 5px;} .pb6{padding-bottom: 6px;} .pb7{padding-bottom: 7px;} .pb8{padding-bottom: 8px;} .pb9{padding-bottom: 9px;} .pb10{padding-bottom: 10px;}
/*行内边距:20=50*/
.pl20{padding-left: 20px;} .pr20{padding-right: 20px;} .pt20{padding-top: 20px;} .pb20{padding-bottom: 20px;} .pl30{padding-left: 30px;} .pr30{padding-right: 30px;} .pt30{padding-top: 30px;} .pb30{padding-bottom: 30px;} .pl40{padding-left: 40px;} .pr40{padding-right: 40px;} .pt40{padding-top: 40px;} .pb40{padding-bottom: 40px;} .pl50{padding-left: 50px;} .pr50{padding-right: 50px;} .pt50{padding-top: 50px;} .pb50{padding-bottom: 50px;} /*行外边距*/
.m5{margin: 5px;} .m10{margin: 10px;} .m15{margin: 15px;} .m20{margin: 20px;}
/*外边距左:1=10*/
.ml1{margin-left: 1px;} .ml2{margin-left: 2px;} .ml3{margin-left: 3px;} .ml4{margin-left: 4px;} .ml5{margin-left: 5px;} .ml6{margin-left: 6px;} .ml7{margin-left: 7px;} .ml8{margin-left: 8px;} .ml9{margin-left: 9px;} .ml10{margin-left: 10px;}
/*外边距右:1=10*/
.mr1{margin-right: 1px;} .mr2{margin-right: 2px;} .mr3{margin-right: 3px;} .mr4{margin-right: 4px;} .mr5{margin-right: 5px;} .mr6{margin-right: 6px;} .mr7{margin-right: 7px;} .mr8{margin-right: 8px;} .mr9{margin-right: 9px;} .mr10{margin-right: 10px;}
/*外边距上:1=10*/
.mt1{margin-top: 1px;} .mt2{margin-top: 2px;} .mt3{margin-top: 3px;} .mt4{margin-top: 4px;} .mt5{margin-top: 5px;} .mt6{margin-top: 6px;} .mt7{margin-top: 7px;} .mt8{margin-top: 8px;} .mt9{margin-top: 9px;} .mt10{margin-top: 10px;}
/*外边距下:1=10*/
.mb1{margin-bottom: 1px;} .mb2{margin-bottom: 2px;} .mb3{margin-bottom: 3px;} .mb4{margin-bottom: 4px;} .mb5{margin-bottom: 5px;} .mb6{margin-bottom: 6px;} .mb7{margin-bottom: 7px;} .mb8{margin-bottom: 8px;} .mb9{margin-bottom: 9px;} .mb10{margin-bottom: 10px;}
/*行外边距:20=50*/
.ml20{margin-left: 20px;} .mr20{margin-right: 20px;} .mt20{margin-top: 20px;} .mb20{margin-bottom: 20px;} .ml30{margin-left: 30px;} .mr30{margin-right: 30px;} .mt30{margin-top: 30px;} .mb30{margin-bottom: 30px;} .ml40{margin-left: 40px;} .mr40{margin-right: 40px;} .mt40{margin-top: 40px;} .mb40{margin-bottom: 40px;} .ml50{margin-left: 50px;} .mr50{margin-right: 50px;} .mt50{margin-top: 50px;} .mb50{margin-bottom: 50px;}
css初始化标签属性--源码的更多相关文章
- activiti 动态配置 activiti 监听引擎启动和初始化(高级源码篇)
1.1.1. 前言 用户故事:现在有这样一个需求,第一个需求:公司的开发环境,测试环境以及线上环境,我们使用的数据库是不一样的,我们必须能够任意的切换数据库进行测试和发布,对数据库连接字符串我们需要加 ...
- WPF 依赖属性源码 洞察微软如何实现DependencyProperty
依赖属性DependencyProperty是wpf最重要的一个类,理解该类如何实现对学习wpf帮助很大! 终于找到了该类的源码!仔细阅读源码,看看微软如何玩的花招! File: Base\Syste ...
- AbstractBeanDefinition:lenientConstructorResolution属性源码分析
版本:spring-framework-4.1 一概述 在看AbstractBeanDefinition源码时,注意到lenientConstructorResolution属性有诸多不疑,现在通过示 ...
- JS 获取元素、修改元素/css样式/标签属性、简单事件、数据类型
基本使用 写在Script 标签里 引入外部js文件:<script src=" "></script> console.log(" " ...
- Spring源码学习(六)-spring初始化回调方法源码学习
1.spring官方指定了三种初始化回调方法 1.1.@PostConstruct.@PreDestory 1.2.实现 InitializingBean DisposableBean 接口 1.3. ...
- 云实例初始化工具cloud-init源码分析
源码分析 代码结构 cloud-init的代码结构如下: cloud-init ├── bash_completion # bash自动补全文件 │ └── cloud-init ├── Chan ...
- 利用纯css写三角形,弧度箭头,吃豆人,气泡。放大镜,标签的源码
1. 向上三角形
- 松瀚SN8P2501 定时器初始化程序--汇编源码
/* 松瀚 SN8P2501B 定时器初始化程序 */ INI_IRQ: ;定时器T0初始化 MOV A, #01100000b ;定时器模式Fcpu/4 16M/4/4=1M 1U计一次 B0MOV ...
- SparkContext的初始化过程分析(源码)
SparkContext的构造函数中,最重要的入参是SparkConf 根据初始化入参生成SparkConf 再根据SparkConf来创建SparkEnv TaskScheduler.start ...
随机推荐
- 小强的HTML5移动开发之路(8)——坦克大战游戏2
来自:http://blog.csdn.net/cai_xingyun/article/details/48629015 在上一篇文章中我们已经画出了自己的坦克,并且可以控制自己的坦克移动,我们继续接 ...
- (十二)UITableView的基本使用
UITableView之所以支持滚动,是因为继承自UIScrollView.默认是垂直滚动,性能极佳. UITableView的两种样式: 1.UITableViewStylePlain ...
- Bootstrap 简介: 创建响应式、移动项目的工具
原文链接: Introduction to Bootstrap: A Tool for Building Responsive, Mobile-First Projects 下载: 示例代码Boots ...
- Using PL/SQL APIs as Web Services
Overview Oracle E-Business Suite Integrated SOA Gateway allows you to use PL/SQL application program ...
- OM模块功能&API详解
(一)销售订单概述 1.1 与车间模块关系 当使用ATO类型订单时,订单管理模块会直接在车间模块中产生任务 1.2 与库存模块关系 在销售订单中使用的物料,单位等信息均来自库存模块,在订单执行 ...
- cocos2d-x升级到3.4与创建android项目
cocos2d-x升级到3.4与创建android项目 1 升级安装cocos2d-x windows7 64位机器, 到官网下载cocos2d-x-3.4: http://www.cocos2d-x ...
- 【Java编程】随机数的不重复选择
随机数的不重复选择就是从n个数中随机选取m(m<n)个数.在本文中,我们用Java来实现.因此我们先介绍Java的相关知识. 在Java中,Java.util.Set接口和Java.util.L ...
- 有关java的引用传递,直接操作对象本身。直接删除BE的value中某值
HashSet<String> refRegions = BE.get(regionName); HashSet<String> values = new HashSet ...
- 部署与管理ZooKeepe
1.部署 本章节主要讲述如何部署ZooKeeper,包括以下三部分的内容: 1. 系统环境 2. 集群模式的配置 3. 单机模式的配置 系统环境和集群模式配置这两节内容大体讲述了如何部署一个能够用于生 ...
- 图像处理程序框架—MFC相关知识点
CDC:Windows使用与设备无关的图形设备环境(DC :Device Context) 进行显示 . MFC基础类库定义了设备环境对象类----CDC类. CDC与CGdiObject的关系 说道 ...