Header hover
Hey hye :) See the title above . Tutor ni ada request dari Zaty (cousin Amani ) . Dia suruh buat buat tutor bila kita hover kat header , header tu akan bergerak *kiri atau kanan . Let's do it ! . Btw , this tutorial credit goes to Lettha :)
- Dashboard > Design > Edit HTML
- Ctrl F and search for this code :
h1.title {
3. Copy yang code kat bawah ni then paste bawah
h1.title {
#header:hover{
-webkit-transition-duration: 2s;
-moz-transform: rotate(6deg);
-webkit-transform: rotate(6deg);
}
*Preview first and save then .
OLD | NEW