01 November 2011

Tutorial- scroll bar hover


tengak scroll bar aku . bile korang halekan cursor . . die akan bertukar! okay2 ..

first, search ]]></b:skin>

and pastekan code ni kat atas code tadi

::-webkit-scrollbar {
height:12px;
width: 6px;
background: white;
}
::-webkit-scrollbar-thumb {
background: lightcoral;
}
::-webkit-scrollbar:hover {
background: white;
}
::-webkit-scrollbar-thumb:hover {
background: lightsteelblue;
}

take a note
  • boleh letak code colour
  • Nak letak background image guna code background-image:url(URL IMG);
  • Nak letak border guna code border: 1px solid #000000;

cred : kak biyha


You may leave your comment :)

4 comments: