June 19, 201214 yr Hello, Anyone able to help me. I want to create a menu like this any idea what I should do ?? I want it so when you hover over the link. It move to an angle. heres the link http://www.aerosuperbatics.com/
June 19, 201214 yr Yeah, they're using images, but there is a way to achive this effect without images. Just use :hover and then change background and rotate the element. #elementid:hover { background-color:#FF0000; // rotate element with good browser support -ms-transform:rotate(10deg); -moz-transform:rotate(10deg); -o-transform:rotate(10deg); -webkit-transform:rotate(10deg); }
June 19, 201214 yr Author Yeah, they're using images, but there is a way to achive this effect without images. Just use :hover and then change background and rotate the element. #elementid:hover { background-color:#FF0000; // rotate element with good browser support -ms-transform:rotate(10deg); -moz-transform:rotate(10deg); -o-transform:rotate(10deg); -webkit-transform:rotate(10deg); } OK, I'n not familiar with CSS3. Could you create an example?
June 19, 201214 yr That's actually just CSS with cross-browser support. CSS3 would just use the 'rotation' property. And Leon gave you an example.
Create an account or sign in to comment