css实现丛林生火动画效果
代码语言:html
所属分类:布局界面
代码描述:css实现丛林生火动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url('https://fonts.googleapis.com/css2?family=Long+Cang&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
transition: 1s;
}
body {
height: 100%;
background: linear-gradient(#122833, #000);
min-height: 100vh;
}
input {
opacity: 0;
}
.font h1 {
position: absolute;
top: 94%;
left: 75%;
color: blanchedalmond;
font-family: 'Long Cang', cursive;
}
.font2 h1 {
position: absolute;
top: 6%;
left: 20%;
font-size: 400px;
font-family: 'Kaushan Script', cursive;
z-index: -1;
}
.container {
width: 400px;
height: 400px;
border-radius: 50%;
background-color: #122833;
border: solid 12px #111f27;
position: absolute;
top: 20%;
left: 38%;
overflow: hidden;
}
.wrapper {
width: 10%;
height: 5%;
position: absolute;
left: 264px;
top: 280px;
display: block;
cursor: pointer;
opacity: 1;
z-index: 4;
}
.red {
width: 60px;
height: 60px;
background: orangered;
box-shadow: 0px 0px 10px 5px orangered;
}
.orange {
left: 9px;
width: 40.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0