Hai hari ni saya nak buat tutorial scroll bar.x tau apa tu scroll bar sini saya tunjuk
yang warna ungu pekat tu la scroll bar
1.Pergi dashboard > design > edit html >tick expand widget templates
2.Tekan Ctrl F serentak,cari kod di bawah
]]>3.Dah jumpa ke?ok kalau dah jumpa copy kod ni pula
::-webkit-scrollbar {4.Paste kan kod tadi di atas kod ]]>
height:12px;
width: 12px;
background: #ffffff;
}
::-webkit-scrollbar-thumb {
background-color: #ff3399;
-moz-border-radius: 10px;
border-radius: 10px;
border: 1px solid #ffffff;
}
*warna biru = background scroll bar
*warna pink = warna scroll bar
5.Kod warna boleh didapati di sini
Ok dah siap jgn tekan save dulu korang tekan preview baru tekan save. ^_^
0 like this:
Post a Comment