Jump to content

Pseudo-classes~mainly :hover


Sevir

Recommended Posts

skym...but thats JS, isn't this CSS :) naa j/k. any answer to a problem is good, and heres mine :only FF will support :hover to anything non - links i think. so basically lets jsut make some code and ill 'talk' you through it.

div{width:100px;height:300px;}div:hover{width:100px;height:500px;}

once again that only works in FF AND Opera that i know of. and for some reason i think this might work as well, but for why you would have a div inside a link is beyond me..

a div{width:auto;height:50px;}a:hover div{width:auto;height:50px;}

and im not sure that the bottom one will work. but w/e.inspiration: http://meyerweb.com/eric/css/edge/menus/demo.htmlhopefully that helps

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...