纯css实现动画特效
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Difflower</title>
<style>
html, body {
height: 100%;
}
body {
margin: 0;
overflow: hidden;
background: #008eff;
font-size: 80px;
}
.container {
position: absolute;
top: 50%;
left: 50%;
filter: invert(100%) brightness(45%) sepia(96%) saturate(2134%) hue-rotate(1deg) brightness(103%) contrast(104%) invert(100%);
}
.petal {
position: absolute;
width: 1.7em;
height: .7em;
margin: -.35em 0 0 -.85em;
mix-blend-mode: exclusion;
}
.petal::before, .petal::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 50%;
background-image: r.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0