svg+gsap实现花瓣旋转动画效果代码
代码语言:html
所属分类:动画
代码描述:svg+gsap实现花瓣旋转动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@200;300&display=swap" rel="stylesheet">
<style>
:root {
--default: hsl(247, 65%, 53%);
--white-50: hsla(0, 100%, 100%, 50%);
--white-25: hsla(0, 100%, 100%, 25%);
--white: hsl(0, 100%, 100%);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
position: relative;
}
html {
height: 100%;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
#root,
#__next {
isolation: isolate;
}
body {
color: white;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0