Skip to content

Instantly share code, notes, and snippets.

@paddingme
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save paddingme/b304a54839836f5dc24a to your computer and use it in GitHub Desktop.

Select an option

Save paddingme/b304a54839836f5dc24a to your computer and use it in GitHub Desktop.
css library
body {
margin: 0;
font: normal 12px/1.5'宋体';
}
a {
color: #34538b;
}
.l {
float: left;
}
.r {
float: right;
}
.cl {
clear: both;
}
img {
border: 0;
}
.tc {
text-align: center;
}
.tr {
text-align: right;
}
.tl {
text-align: left;
}
.g0 {
color: #000;
}
.g3 {
color: #333;
}
.g6 {
color: #666;
}
.g9 {
color: #999;
}
.r3 {
color: #f30;
}
.wf {
color: #fff;
}
.vm {
vertical-align: middle;
}
.vtb {
vertical-align: text-bottom;
}
.vt {
vertical-align: top;
}
.vn {
vertical-align: -2px;
}
.ml2 {
margin-left: 2px;
}
.ml5 {
margin-left: 5px;
}
.ml10 {
margin-left: 10px;
}
.ml20 {
margin-left: 20px;
}
.mr2 {
margin-right: 2px;
}
.mr5 {
margin-right: 5px;
}
.mr10 {
margin-right: 10px;
}
.mr20 {
margin-right: 20px;
}
.mt2 {
margin-top: 2px;
}
.mt5 {
margin-top: 5px;
}
.mt10 {
margin-top: 10px;
}
.mt20 {
margin-top: 20px;
}
.mb2 {
margin-bottom: 2px;
}
.mb5 {
margin-bottom: 5px;
}
.mb10 {
margin-bottom: 10px;
}
.mb20 {
margin-bottom: 20px;
}
……
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment