}
.i { width: 64px; height: 116px; background-position: -324px -136px; }
.a { width: 113px; height: 126px; }
.n { width: 121px; height: 120px; background-position: -249px -270px; }
##### 2. 字体图标








##### 3. CSS三角

练习:


##### 4. CSS用户界面样式



##### 5. vertical-align属性应用


##### 6. 溢出的文字省略号显示


##### 7. 常见的布局技巧





练习:

Document
\* {
margin: 0;
padding: 0;
}
.box {
text-align: center;
}
.box a { display: inline-block; width: 36px; height: 36px; background-color: #f7f7f7; border: 1px solid #ccc; text-align: center; line-height: 36px; text-decoration: none; color: #333; font-size: 14px; }
.box .prev, .box .next { width: 85px; }
.box .current, .box .elp { background-color: #fff; border: none; }
.box input { width: 45px; height: 36px; border: 1px solid #ccc; outline: none; }
.box button { width: 60px; height: 36px; background-color: #f7f7f7; border: 1px solid #ccc; }

练习:

Document
.price {
width: 160px;
height: 24px;
border: 1px solid red;
margin: 0 auto;
line-height: 24px;
}
.miaosha {
position: relative;
float: left;
width: 90px;
height: 100%;
background-color: red;
text-align: center;
color: #fff;
font-weight: 700;
margin-right: 8px;
}
.miaosha i { position: absolute; top: 0; right: 0; width: 0; height: 0; border-color: transparent #fff transparent transparent; border-style: solid; border-width: 24px 10px 0 0; }
结尾
正式学习前端大概 3 年多了,很早就想整理这个书单了,因为常常会有朋友问,前端该如何学习,学习前端该看哪些书,我就讲讲我学习的道路中看的一些书,虽然整理的书不多,但是每一本都是那种看一本就秒不绝口的感觉。
以下大部分是我看过的,或者说身边的人推荐的书籍,每一本我都有些相关的推荐语,如果你有看到更好的书欢迎推荐呀。