Forums

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

Home Forums CSS CSS Lightning effect Re: CSS Lightning effect

#134322
pixelgrid
Participant

a look at the code could help you

they have

-webkit-mask: -webkit-gradient(radial, 17 17, 123, 17 17, 138, from(rgb(0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0.2)), to(rgb(0, 0, 0)));
}

and on hover they animate the radius of the circle by changing the radius of the circles third and sixth number.
webkit masking does the trick