Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At minimum, you'll likely have different effects for links than for buttons.

Component-centered design is very common so the styles for each component that would benefit from :hover may have its own variation on it, for the color differences if nothing else.

:hover is not the only interaction pseudo-class, :focus and :active can also be nested.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: