“: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