任務(wù)的第二個定位是怎么算出來的呀?
?background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat,
?????????????? url(http://static.mukewang.com/static/img/logo_index.png) no-repeat;
??? background-position:left top,???? ??? (第二個定位)
2016-12-17
舉報
2018-05-22
開發(fā)中能用指向性數(shù)據(jù)(如left,right,center)等,能夠避免不同瀏覽器的兼容問題。用px指向位置,都是清楚知道容器與圖片尺寸的情況下使用,不然只能一點點去試位置,浪費開發(fā)時間。
2017-02-07
?background-position:left top,right bottom; ?我用這個,沒用數(shù)據(jù)
2016-12-17
?background-position:left top, ?150px ?bottom