01-03-2013, 08:28 PM
.icon-download-2:before { background: url(images/gampar.jpg); }
kalau diatas adalah repeat X dan Y
kalau gak mau repeat ini :
.icon-download-2:before { background: url(images/gampar.jpg) no-repeat scroll; }
repeat x ya tinggal ganti repeat-x ==>> no-repeat
kalau make css sprites bisa gunakan ini :
background: url(images/gampar.jpg) no-repeat scroll -10px 10px;
yaitu posisi : horizontal adalah -10px dan vertical 10px
kalau diatas adalah repeat X dan Y
kalau gak mau repeat ini :
.icon-download-2:before { background: url(images/gampar.jpg) no-repeat scroll; }
repeat x ya tinggal ganti repeat-x ==>> no-repeat
kalau make css sprites bisa gunakan ini :
background: url(images/gampar.jpg) no-repeat scroll -10px 10px;
yaitu posisi : horizontal adalah -10px dan vertical 10px
.:: please don't ask ::.
- WHO AM I -
because I was here for die



