css实现纯文字扫光动效
纯css实现扫光动效,js辅助激活动效,非必要。 另用到伪元素是为实现阴影及渐变。效果及具体代码参考codepen [codepen_embed height=”265″ theme_id=”0″ slug_hash=”EGJqLm” default_tab=”css,result” user=”sheshihui”]See the Pen 文字扫光动效 by Frank She (@sheshihui) on CodePen.[/codepen_embed]