gsap+splitting实现下雪文字动画圣诞节快乐效果代码
代码语言:html
所属分类:动画
代码描述:gsap+splitting实现下雪文字动画圣诞节快乐效果代码
代码标签: gsap splitting 下雪 文字 动画 圣诞节 快乐
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/splitting.css"> <style> @import url("https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap"); p.greetings { width: 100%; font-family: "Alex Brush", cursive; font-size: 12vmin; font-weight: 600; color: gold; text-shadow: 1px 1px 5px rgba(0 0 0 / 0.7), 3px 3px 8px rgba(255 215 0 / 0.75), 5px 5px 10px rgba(255 215 0 / 0.5), 10px 10px 15px rgba(255 215 0 / 0.25), 20px 20px 20px rgba(255 215 0 / 0.15); text-align: center; line-height: 0.75; font-kerning: normal; } .globe { width: 40vw; height: 40vw; outline: 1vmin solid gold; border-radius: 50%; display: flex; background: /* CLOUDS */ radial-gradient(#fff 0 70%, #0000 0 100%) top -8% left 95% / 45% 18%, radial-gradient(#fff 0 70%, #0000 0 100%) top -7% left 35% / 40% 15%, radial-gradient(#fff 0 70%, #0000 0 100%) top -5% left 12% / 35% 15%, /* STAR */ /* main points */ /* top */ conic-gradient(at 50% 0, #0000 175deg, yellow 175deg 185deg, #0000 185deg) top 17% left 70% / 4% 7%, /* right */ conic-gradient(at 75% 30%, #0000 265deg, yellow 265deg 275deg, #0000 265deg) top 22.25% left 75% / 7% 4%, /* bottom */ conic-gradient(at 50% 100%, yellow 5deg, #0000 5deg 355deg, yellow 355deg) top 25% left 70% / 4% 10%, /* left */ conic-gradient(at .........完整代码请登录后点击上方下载按钮下载查看
网友评论0