Home › Forums › CSS › CSS Lightning effect › Re: CSS Lightning effect
May 7, 2013 at 5:21 am
#134322
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