* {
margin:;
padding:;
text-decoration: none;
-webkit-overflow-scrolling: touch !important;
/*iOS惯性滚动*/
outline: none;
-webkit-font-smoothing: antialiased;
/*字体细长*/
-moz-osx-font-smoothing: grayscale;
} body {
position: relative;
margin: 0 auto;
width: 100%;
height: 100%;
min-width: 900px;
overflow-x: hidden;
font-family: "微软雅黑";
-webkit-touch-callout: none;
/*禁用长按页面时的弹出菜单*/
-webkit-tap-highlight-color: white;
box-sizing: border-box;
} li {
list-style: none;
} ul,
ol {
list-style-type: none;
} select,
input,
img,
select {
vertical-align: middle;
} img {
border: none;
display: inline-block
} i {
font-style: normal
} a {
text-decoration: none;
-webkit-appearance: none;
} *:focus {
outline: none;
} input,
textarea,
button {
resize: none;
-webkit-appearance: none;
outline: none;
} input {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} strong {
font-weight: bold;
} h3,
h4 {
font-weight: normal
} input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: #cecece;
} input:-moz-placeholder,
textarea:-moz-placeholder {
color: #cecece;
} input[type="button"],
input[type="submit"],
input[type="file"],
button {
cursor: pointer;
-webkit-appearance: none;
} table {
border-collapse: collapse;
border-spacing:;
} .hover-hand {
cursor: pointer;
/*悬浮显示手*/
} /*禁止选中copy*/ .dont-select {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
user-select: none;
} /*float*/ .left {
float: left;
} .right {
float: right;
} .clearfloat:after {
content: "";
display: block;
height:;
clear: both;
zoom:;
visibility: hidden;
} .clearfloat {
zoom:;
clear: both;
} .clear {
clear: both;
zoom:;
} .hide {
display: none !important;
} .show {
display: block;
} /*font-size*/ .font12 {
font-size: 12px;
} .font13 {
font-size: 13px;
} .font14 {
font-size: 14px;
} .font15 {
font-size: 15px;
} .font16 {
font-size: 16px;
} .font18 {
font-size: 18px;
} .font19 {
font-size: 19px;
} .font20 {
font-size: 20px;
} .font22 {
font-size: 22px;
} .font24 {
font-size: 24px;
} .font26 {
font-size: 26px;
} .font28 {
font-size: 28px;
} .font30 {
font-size: 30px;
} .font32 {
font-size: 32px;
} .font36 {
font-size: 36px;
} .font48 {
font-size: 48px;
} .font60 {
font-size: 60px;
} .color-white {
color: white;
} .color-red {
color: red;
} .color-green {
color: green;
} .color-black {
color: black;
} .cl1685d3 {
color: #1685D3;
} .bg1685D3 {
background: #1685D3;
} .color-blue {
color: blue;
} .color-yellow {
color: yellow;
} .color-pink {
color: pink;
} .bg-yellow {
background: yellow;
} .bg-red {
background: red;
} .border-blue {
border: 1px solid blue;
} .border-black {
border: 1px solid black;
} .border-white {
border: 1px solid white;
} .tc {
text-align: center;
} .tl {
text-align: left;
} .tr {
text-align: right;
} /*一行多行显示省略号*/ .one-line {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
/*clip 修剪文本。*/
} .more-line {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp:;
} /*flex*/ .flex {
display: flex;
flex-wrap: nowrap;
flex-direction: row;
flex-flow: row nowrap;
justify-content: flex-start;
/*flex-start | flex-end | center | space-between | space-around;*/
align-items: flex-start;
/*flex-start | flex-end | center | baseline | stretch;*/
align-content: flex-start;
/*flex-start | flex-end | center | space-between | space-around | stretch;*/
align-self: auto;
} /*移动端1px*/ .onepx-border:before {
content: '';
position: absolute;
top: 0px;
left: 0px;
width: 200%;
height: 200%;
border: 1px solid blue;
transform-origin: 0 0;
transform: scale(0.5, 0.5);
box-sizing: border-box;
border-radius: 10px;
} /*滚动条样式*/ ::-webkit-scrollbar {
width: 6px;
height: 6px
} ::-webkit-scrollbar-track-piece {
background: #eee;
} ::-webkit-scrollbar-thumb:vertical {
background: #666;
}

我的CSS初始化,reset.css的更多相关文章

  1. Normalize.css 与 reset.css

    Normalize.css 与 reset.css都是初始化页面样式 不同点在于 reset.css更加粗暴,直接把所有的样式全部初始化了: Normalize.css还剩点良心,还保留了一些浏览器默 ...

  2. 移动端(视口(meta),像素比,二倍图(图片,背景图,精灵图),css初始化(normalize.css),特殊样式,常见屏幕尺寸)

    1. 视口:(布局视口(layout viewport),视觉视口(visual viewport),理想视口(ideal viewport)) meta 视口标签 <meta  name = ...

  3. CSS Tools: Reset CSS

    样式初始化 /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ ...

  4. CSS重置 reset.css

    1. [文件] reset.css ~/*------------------------------------------* site:ifnoif.net* Style author:ifnoi ...

  5. CSS初始化-KISSY CSS Reset 1.0

    代码 /* KISSY CSS Reset 理念:1. reset 的目的不是清除浏览器的默认样式,这仅是部分工作.清除和重置是紧密不可分的. 2. reset 的目的不是让默认样式在所有浏览器下一致 ...

  6. [转载]CSS Tools: Reset CSS

    http://meyerweb.com/eric/tools/css/reset/ The goal of a reset stylesheet is to reduce browser incons ...

  7. Web前端浏览器默认样式重置(CSS Tools: Reset CSS)

    /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, ...

  8. css初始化minireset.css

    一个很小的现代CSS重置,涵盖了基本内容: 重置字体大小:这样使用语义标记不会影响样式 重置块边距:所以只有在需要时才应用间距 重置表格:这样表格数据只占用它所需的空间 保留了行内间距:因此,按钮和输 ...

  9. Normalize.css与Reset CSS:定义浏览器统一的默认样式

    今天在chrome上测试我的网页,发现一个<p>段落多出了一些margin,而我自己没有设定.打开f12调试,发现在一个“user agent style”栏下定义了这个margin,去g ...

  10. css重置reset.css

    body, h1, h2, h3, h4, h5, h6, hr, p, blockquote,dl, dt, dd, ul, ol, li,pre,form, fieldset, legend, b ...

随机推荐

  1. kubernetes大概的工作原理

    先放一张Kubernetes的架构图: 整体来看,是一个老大,多个干活的这种结构,基本上所有的分布式系统都是这样,但是里面的组件名称就纷繁复杂,下面将一一解析. 1.元数据存储与集群维护 作为一个集群 ...

  2. 【Palindrome Partitioning】cpp

    题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return ...

  3. Selenium中如何运行 auto.exe 文件

    Runtime exe = Runtime.getRuntime(); try{ String str = "D:\\Auto上传文件\\photo.exe"; exe.exec( ...

  4. SQL Server 2014存储过程的备份和还原

    Sql Server 2014存储过程备份和恢复... 1 1.      备份存储过程:... 1 2.      还原... 8 Sql Server 2014存储过程备份和恢复 1. 备份存储过 ...

  5. 冒泡排序(Bubble Sort)及优化

    原理介绍 冒泡排序算法的原理如下: 比较相邻的元素.如果第一个比第二个大,就交换他们两个. 对每一对相邻元素做同样的工作,从开始第一对到结尾的最后一对.在这一点,最后的元素应该会是最大的数. 针对所有 ...

  6. 【bzoj3687】简单题 背包dp+STL-bitset

    题目描述 小呆开始研究集合论了,他提出了关于一个数集四个问题:1.子集的异或和的算术和.2.子集的异或和的异或和.3.子集的算术和的算术和.4.子集的算术和的异或和.目前为止,小呆已经解决了前三个问题 ...

  7. arcsde10.0 for oracle11g 分布式安装教程

    [操作系统] oracle :windows server 2008ArcSDE:win7[数据库版本]  Oracle 11g [ArcSDE版本]  ArcSDE 10.0 1.在要安装ArcSD ...

  8. try 与catch的作用

    首先要清楚,如果没有try的话,出现异常会导致程序崩溃.而try则可以保证程序的正常运行下去,比如说: try{ int i = 1/0; }catch(Exception e){ e.printSt ...

  9. BZOJ-2618 [CQOI2006]凸多边形

    半平面交模版题.. #include <cstdlib> #include <cstdio> #include <cmath> #include <cstri ...

  10. 核苷酸(evolution)

    核苷酸(evolution) 题目描述 生物课是帕特里克最讨厌的课程,没有之一. 相比做一些无聊而又无趣的遗传题,他更喜欢其他所有的科目. 包括英语. 但是今天不同.他被一个关于RNA感染DNA的题目 ...