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初始化标签属性--源码的更多相关文章

  1. activiti 动态配置 activiti 监听引擎启动和初始化(高级源码篇)

    1.1.1. 前言 用户故事:现在有这样一个需求,第一个需求:公司的开发环境,测试环境以及线上环境,我们使用的数据库是不一样的,我们必须能够任意的切换数据库进行测试和发布,对数据库连接字符串我们需要加 ...

  2. WPF 依赖属性源码 洞察微软如何实现DependencyProperty

    依赖属性DependencyProperty是wpf最重要的一个类,理解该类如何实现对学习wpf帮助很大! 终于找到了该类的源码!仔细阅读源码,看看微软如何玩的花招! File: Base\Syste ...

  3. AbstractBeanDefinition:lenientConstructorResolution属性源码分析

    版本:spring-framework-4.1 一概述 在看AbstractBeanDefinition源码时,注意到lenientConstructorResolution属性有诸多不疑,现在通过示 ...

  4. JS 获取元素、修改元素/css样式/标签属性、简单事件、数据类型

    基本使用 写在Script 标签里 引入外部js文件:<script src=" "></script> console.log(" " ...

  5. Spring源码学习(六)-spring初始化回调方法源码学习

    1.spring官方指定了三种初始化回调方法 1.1.@PostConstruct.@PreDestory 1.2.实现 InitializingBean DisposableBean 接口 1.3. ...

  6. 云实例初始化工具cloud-init源码分析

    源码分析 代码结构 cloud-init的代码结构如下: cloud-init ├── bash_completion # bash自动补全文件 │   └── cloud-init ├── Chan ...

  7. 利用纯css写三角形,弧度箭头,吃豆人,气泡。放大镜,标签的源码

    1. 向上三角形

  8. 松瀚SN8P2501 定时器初始化程序--汇编源码

    /* 松瀚 SN8P2501B 定时器初始化程序 */ INI_IRQ: ;定时器T0初始化 MOV A, #01100000b ;定时器模式Fcpu/4 16M/4/4=1M 1U计一次 B0MOV ...

  9. SparkContext的初始化过程分析(源码)

     SparkContext的构造函数中,最重要的入参是SparkConf  根据初始化入参生成SparkConf 再根据SparkConf来创建SparkEnv TaskScheduler.start ...

随机推荐

  1. Property属性,&nbsp;KVC键值编码OC…

    1.属性:帮你自动生成setter 和 getter 方法      属性的声明:(写在.h中)      格式: @property 数据类型 属性名      属性的实现:(写在.m中)      ...

  2. MySQL学习笔记_5_SQL语言的设计与编写(上)

    SQL语言的设计与编写(上) 一.SQL语句分类 数据定义语言(DDL): 用于定义和管理数据对象,包括数据库.数据表.视图.索引等.例如:CREATE.DROP.ALTER等语句. 数据操作语言(D ...

  3. listview异步加载图片并防止错位

    android listview 异步加载图片并防止错位 网上找了一张图, listview 异步加载图片之所以错位的根本原因是重用了 convertView 且有异步操作. 如果不重用 conver ...

  4. 1、libgdx简介

    Libgdx 是一个跨平台和可视化的的开发框架.它当前支持Windows,Linux,Mac OS X,Android,IOS和HTML5作为目标平台. Libgdx允许你一次编写代码不经修改部署到多 ...

  5. (NO.00001)iOS游戏SpeedBoy Lite成形记(一)

    这是本猫第一个原创iOS游戏,留此为证!看编号貌似要写9万多个,千锤百炼还是太少吧!? ;) 这是一个赛跑游戏,几位选手从起点跑到终点看谁用的时间最少.现在需要实现的功能是: 1.8位选手从起点移动至 ...

  6. C#中任意类型数据转成JSON格式

    /// <summary>    /// List转成json     /// </summary>    /// <typeparam name="T&quo ...

  7. LeetCode之“散列表”:Two Sum && 3Sum && 3Sum Closest && 4Sum

    1. Two Sum 题目链接 题目要求: Given an array of integers, find two numbers such that they add up to a specif ...

  8. LeetCode之“动态规划”:Edit Distance

    题目链接 题目要求: Given two words word1 and word2, find the minimum number of steps required to convert wor ...

  9. Linux查询已开启文件或已运行进程开启之文件fuser,lsof,pidof

    fuser:藉由文件(或文件系统)找出正在使用该文件的程序 [root@www ~]# fuser [-umv] [-k [i] [-signal]] file/dir 选项与参数: -u :除了进程 ...

  10. Gathering Initial Troubleshooting Information for Analysis of ORA-4031 Errors on the Shared Pool

    In this Document   Purpose   Troubleshooting Steps   References APPLIES TO: Oracle Database - Enterp ...