“:nth-last-of-type(n)”选择器和“:nth-of-type(n)”选择器是一样的,选择父元素中指定的某种子元素类型,但它的起始方向是从最后一个子元素开始,而且它的使用方法类似于上节中介绍的“:nth-last-child(n)”选择器一样。
2014-12-07
去掉no-repeat,background-origin属性仍然有效,决定了第一张图片是在边框、内边距还是内容区域开始显示,然后才进行平铺。Firefox 33.1、chrome39.0、IE11亲测(应该是后面的浏览器都开始支持了)
2014-12-04
谢谢 chzjstar 提醒
修改了一下 可以了
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top /200px 80px,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom /50% 40%;
修改了一下 可以了
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top /200px 80px,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom /50% 40%;
2014-12-03
源码中缺少#bg1:target,#bg2:target,#bg3:target,#bg4:target,#bg5:target这几部分的东西
2014-12-03
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top /200px 80px,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom /150px 50px;
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat right bottom /150px 50px;
2014-12-02
为什么测试的都不对呢,可是效果是对的,但是就是不知道为什么提交不了,老是显示错误background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat ,
url(http://static.mukewang.com/static/img/logo_index.png) right bottom no-repeat ;难道是代码有问题,求解
url(http://static.mukewang.com/static/img/logo_index.png) right bottom no-repeat ;难道是代码有问题,求解
2014-12-02