http://blog.csdn.net/u011144211/article/details/46787141
https://zhidao.baidu.com/question/1766300012002949780.html
取值为fixed的时候,意思是固定背[……]
http://blog.csdn.net/u011144211/article/details/46787141
https://zhidao.baidu.com/question/1766300012002949780.html
取值为fixed的时候,意思是固定背[……]
http://blog.csdn.net/promisecao/article/details/52771856
在清除浮动前我们要了解两个重要的定义:
浮动的定义:使元素脱离文档流,按照指定方向发生移动,遇到父级边界或者相邻的浮动元素停了下来。
高度塌陷:浮动[……]
https://stackoverflow.com/questions/5445491/height-equal-to-dynamic-width-css-fluid-layout
It is possible without any Javascript 🙂
Th[……]
Centering elements vertically with css is something that often gives designers trouble. There a[……]
https://stackoverflow.com/questions/33631177/using-vertical-align-to-vertically-center-a-button-within-a-div
Credit to @andy-furniss for[……]
http://www.jqhtml.com/8045.html
#
square
{
width
:
100px
;
height
:
100px
;
background
:
red
;
}
[……]
http://www.cnblogs.com/liuting1314521/p/6185857.html
css中“~”是:
为所有相同的父元素中位于 p 元素之后的所有 ul 元素设置背景:
p~ul
{
background
:
#ff0000
;
}
[……]
.videoItem .videoPic {
float: left;
position: relative;
padding: 33% 0 0; /*宽高等比*/
width: 33%;
}