任務(wù)的第二個(gè)定位是怎么算出來的呀?
?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,???? ??? (第二個(gè)定位)
2016-12-17
舉報(bào)
2018-05-22
開發(fā)中能用指向性數(shù)據(jù)(如left,right,center)等,能夠避免不同瀏覽器的兼容問題。用px指向位置,都是清楚知道容器與圖片尺寸的情況下使用,不然只能一點(diǎn)點(diǎn)去試位置,浪費(fèi)開發(fā)時(shí)間。
2017-02-07
?background-position:left top,right bottom; ?我用這個(gè),沒用數(shù)據(jù)
2016-12-17
?background-position:left top, ?150px ?bottom