纯css多彩光晕旋转动画效果
代码语言:html
所属分类:动画
代码描述:纯css多彩光晕旋转动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
:root {
--scale: 10em;
--minus-scale: -10em;
--col-1: #f26680;
--col-2: #2f2d73;
--col-3: #026873;
--col-4: #f2ca52;
--col-5: #f24535;
}
html {
height: 100%;
}
body {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
background: black;
filter: blur(30px) contrast(6);
}
.lava {
width: 0px;
height: 0px;
border-right: var(--scale) solid transparent;
border-top: var(--scale) solid var(--col-1);
border-left: var(--scale) solid transparent;
border-bottom: var(--scale) solid var(--col-4);
border-top-left-radius: var(--scale);
border-top-right-radius: var(--scale);
border-bottom-left-radius: var(--scale);
border-bottom-right-radius: var(--s.........完整代码请登录后点击上方下载按钮下载查看
网友评论0