css实现带阴影边框走光动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现带阴影边框走光动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
html, body {
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
.rainbow-glow {
display: inline-block;
padding: 2px;
position: relative;
border-radius: 25px;
}
.rainbow-glow:before {
content: "";
display: block;
position: absolute;
width: 200%;
right: -50%;
bottom: -50%;
top: -50%;
background-position: center center;
background-image: conic-gradient(from 0 at 50% 50%, transparent 50%, #fff845, #1cc9.........完整代码请登录后点击上方下载按钮下载查看
网友评论0