呼吸灯特效

呼吸灯特效

今天无意间发现了一个不错的特效,就是呼吸灯效果,感觉用来放在海报周围很炫酷,用在其他地方也是不错的。

原理就是before伪元素 + animation动画 + box-shadow盒子阴影。进入demoF12查看Elements基本能知道是怎么实现了。

呼吸灯demo


扫一扫下方小程序码或搜索Tusi博客,即刻阅读最新文章!

Tusi博客

You forgot to set the qrcode for Alipay. Please set it in _config.yml.
You forgot to set the qrcode for Wechat. Please set it in _config.yml.
You forgot to set the business and currency_code for Paypal. Please set it in _config.yml.
You forgot to set the url Patreon. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×