css实现圆圈扩散动画效果代码

代码语言:html

所属分类:动画

代码描述:css实现圆圈扩散动画效果代码

代码标签: css 圆圈 扩散 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>纯CSS3多圆圈扩散动画</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css">
<style>
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg,#1a2a6c,#b21f1f,#1a2a6c);
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    padding: 20px
}

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px
}

.header {
    text-align: center;
    color: white;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 800px;
    width: 100%
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    background: linear-gradient(to right,#ff7e5f,#feb47b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2)
}

.header p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 15px;
    color: rgba(255,255,255,0.9)
}

.animation-conta.........完整代码请登录后点击上方下载按钮下载查看

网友评论0