div+css实现泡泡融合背景动画效果代码
代码语言:html
所属分类:背景
代码描述:div+css实现泡泡融合背景动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Dongle:wght@700&display=swap" rel="stylesheet"> <style> html, body { font-family: "Dongle", sans-serif; margin: 0; padding: 0; } .text-container { z-index: 100; width: 100vw; height: 100vh; display: flex; position: absolute; top: 0; left: 0; justify-content: center; align-items: center; font-size: 96px; color: white; opacity: 0.8; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; text-shadow: 1px 1px rgba(0, 0, 0, 0.1); } :root { --color-bg1: rgb(108, 0, 162); --color-bg2: rgb(0, 17, 82); .........完整代码请登录后点击上方下载按钮下载查看
网友评论0