Loading... ``` .wave { position: relative; } .wave:focus{ outline: none; } .wave:after { content: ""; display: block; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; pointer-events: none; background-color: #333; background-repeat: no-repeat; background-position: 50%; opacity: 0; transition: all .3s; } .wave:active:after { opacity: .3; top: 0; left: 0; right: 0; bottom: 0; transition: 0s; } ``` 最后修改:2021 年 03 月 20 日 © 允许规范转载 打赏 赞赏作者 微信 赞 0 如果觉得我的文章对你有用,请随意赞赏
此处评论已关闭