a为元素的水平伸缩量,1为原始大小;
b为纵向扭曲,0为不变;
c为横向扭曲,0不变;
d为垂直伸缩量,1为原始大小;
e为水平偏移量,0是初始位置;
f为垂直偏移量,0是初始位置
b为纵向扭曲,0为不变;
c为横向扭曲,0不变;
d为垂直伸缩量,1为原始大小;
e为水平偏移量,0是初始位置;
f为垂直偏移量,0是初始位置
2015-05-10
看不懂的同学可以参考我这篇博客:http://yangyicode.com/ccs3-flexbox-layout/
2015-05-09
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top/70% 60%,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom/50% 35%;
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom/50% 35%;
2015-05-08
a[class]{
background:red;
}
a[title]{
background:blue;
}
a[href$=doc]{
background:green;
}
background:red;
}
a[title]{
background:blue;
}
a[href$=doc]{
background:green;
}
2015-05-07
background:linear-gradient(to bottom,#dd2926,#a82724,#dd2926) no-repeat right / 1px 15px; 意思背景使用渐变色,然后不重复,居右,斜线后面的其实是background-size的设置,width 1px,height 15px
2015-05-06
.menuSection p{display:none;}
:target p {
display:block;
background: orange;
color: #fff;
}
:target p {
display:block;
background: orange;
color: #fff;
}
2015-05-06