Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Hover glow effect?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27423

    I’m looking for a way to create a really subtle ‘glow’ effect around an element on hover. Obviously this could be achieved with a rollover image, but I want it to look more like a transition rather than an on/off effect.

    If you check the nav on this page you’ll see what I mean:
    http://www.portlandstudios.com/

    Has anyone come across any css tricks / js plugins to achieve this?

    Thanks in advance!

    #68919
    Chris Coyier
    Keymaster

    Sounds like a job for -moz-box-shadow and -webkit-box-shadow. With -moz… you could use jQuery to animate it’s size and color (I think?). With -webkit you could use webkit transitions to have the "glow" intensify on hover.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.