Skip to content

Instantly share code, notes, and snippets.

View kerryChen95's full-sized avatar

kerryChen95 kerryChen95

  • AutoX
  • Beijing, China
View GitHub Profile
.wrapper {
width:90%;
margin: auto;
overflow: hidden;
zoom: 1;
background: beige;
}
.nav {
float: left;
@kerryChen95
kerryChen95 / dabblet.css
Created May 16, 2013 18:29 — forked from kejun/dabblet.css
sample-1缺点 + 必须固定高度
body {
width: 600px;
font:normal 14px/1.62 arial, sans-serif;
}
.mod {
margin-bottom:100px;
background-color:#efc;
}
.pic {
margin-right: 20px;
@kerryChen95
kerryChen95 / dabblet.css
Created June 6, 2012 03:25 — forked from kejun/dabblet.css
用table-cell垂直居中
.item {
margin-bottom: 20px;
padding: 10px;
font-size: 0;
border: 1px solid #efefef;
}
.item .pic ,
.item .content {
display: table-cell;
*display: inline;