02 November 2011

tutorial- centerkan post title/ sidebar title



SIDEBAR
ctrl+f search h2 { atau h2{ atau .sidebar h2 {

POST
search h3.post-title { atau .post h3 { 

and paste code text-align:center; kat bawah kedua-dua  code tadi

You may leave your comment :)

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 :)