今天,我想分享一本非常优秀的CSS书籍——《CSS世界》张鑫旭PDF。这本书是一份由前端技术大咖张鑫旭撰写的CSS入门教材,该教材精致的排版,生动的插图,言简意赅的文字,辅助学习者理解CSS的各种概念
body { margin: 0; padding: 0; } <br> p { font-size: 16px; line-height: 1.5; margin-bottom: 10px; } <br> pre { font-size: 14px; line-height: 1.5; background-color: #f5f5f5; border-radius: 3px; padding: 10px; margin-bottom: 10px; }
.container { width: 100%; margin: 0 auto; } <br> .box { width: 200px; height: 200px; border: 1px solid #ccc; box-sizing: border-box; float: left; } <br> .left { background-color: #f5f5f5; } <br> .right { background-color: #fff; }
粉丝
0
关注
0
收藏
0