我想制作样式css,如期刊样式
示例 http://themes.pixelb.in/journal/
我试着做这个
HTML
<header><!-- ... --></header>
<div id="content">
<div class="item">
here is item con
</div>
<div class="item">
here is item con
</div>
<div class="item">
here is item con
</div>
</div>
CSS
#content {
width: 90%;
}
.item {
float: left;
width: 300px;
border: solid 1px #ccc;
margin: 5px;
padding: 5px;
}
感谢所有