整理完了《高性能JavaScript》这本书,往下就须要快速处理《CSS世界》,这本讲解CSS特性的书很是值得一读,内容完整,重点突出,实战性强,就是语言啰嗦。因为全书内容太多,并且须要一点一点的整理,因此放到了站点上,方便你们查看。git
站点地址: 全栈开发
原文连接: CSS世界,豆瓣读书: CSS世界
table
块级元素github
list-item
元素会出现项目符号display: inline-table;
的盒子是怎样组成的width/height
做用在哪一个盒子上width/height
做用的具体细节布局
width:auto
width
值做用的细节width/height
做用细节的box-sizing
height:auto
height:100%
min-width/max-width
和min-height/max-height
性能
min-width/max-width
!important
,超越最大内联元素字体
深刻理解content
动画
content
与替换元素content
内容生成技术温和的padding
属性spa
padding
与元素的尺寸padding
的百分比值padding
padding
与图形绘制激进的margin
属性code
margin
与元素尺寸以及相关布局margin
的百分比值margin
合并margin:auto
margin
无效情形解析功勋卓著的border
属性orm
border-width
不支持百分比值border-style
类型border-color
和color
border
与透明边框技巧border
与图形构建border
等高布局技术字母x
ip
x
与CSS世界的基线x
与CSS中的x-height
x
与CSS中的ex
内联元素的基石line-height
line-height
line-height
可让内联元素“垂直居中”line-height
的各种属性值line-height
的“大值特性”line-height
的好朋友vertical-align
vertical-align
家族基本认识vertical-align
做用前提vertical-align
和line-height
之间的关系vertical-align
线性类属性值vertical-align
文本类属性值vertical-align
线性类属性值上标下标类属性值vertical-align
vertical-align
属性的水平垂直居中弹框魔鬼属性float
float
的本质与特性float
的做用机制float
更深刻的做用机制float
与流体布局float
的自然克星clear
clear
属性clear
CSS世界的结界——BFC
最佳结界overflow
overflow
裁剪界线border box
overflow-x
和overflow-y
overflow
与滚动条overflow
的样式表现overflow
与锚点定位float
的兄弟position:absolute
绝对定位
absolute
的包含块absolute
绝对定位absolute
与text-align
absolute
与overflow
absolute
与clip
clip
属性clip
的渲染absolute
的流体特性
absolute
遇到left/top/right/bottom
属性absolute
的流体特性absolute
的margin:auto
居中position:relative
才是大哥
relative
对absolute
的限制relative
与定位relative
的最小化影响原则强悍的position:fixed
固定定位
position:fixed
不同的“包含块”position:fixed
的absolute
模拟position:fixed
与背景锁定z-index
深刻了解层叠上下文
z-index
负值深刻理解z-index
准则line-height
的另外一个朋友font-size
font-size
和vertical-align
的隐秘故事font-size
与ex
、em
和rem
的关系font-size
的关键字属性值font-size:0
与文本的隐藏字体属性家族font-family
字体家族其余成员
font-weight
font-style
font-variant
font
属性
font
属性font
属性font
关键字属性值的应用价值@font face
规则
@font face
的本质是变量@font face
与字体图标技术文本的控制
text-indent
与内联元素缩进letter-spacing
与字符间距word-spacing
与单词间距word-break
和word-wrap
的区别white-space
与换行和空格的控制text-align
与元素对齐text-decoration
下划线和文本重叠的问题text-transform
字符大小写了解:first-letter/:first-line
伪元素
:first-letter
伪元素及其实例:first-line
伪元素color
transparent
关键字currentColor
变量rgba
颜色和hsla
颜色background
background-image
到底加不加载background-position
百分比计算方式background-repeat
与渲染性能background-attachment:fixed
background-color
背景色永远是最低的rgba
背景色的兼容处理display
与元素的显示/隐藏visibility
与元素的显示/隐藏
visibility:collapse
和border
形似的outline
属性
outline:0 none
outline
及其应用光标属性cursor
cursor
属性值改变水平流向的direction
direction
简介direction
的黄金搭档unicode-bidi
writing-mode
writing-mode
原来的做用writing-mode
改变了哪些规则writing-mode
和direction
的关系