css实现夜晚路灯效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现夜晚路灯效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0px;
padding: 0px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.paint_art {
position: relative;
max-width: 600px;
width: 100%;
max-height: 100vh;
min-height: 100vh;
height: 100%;
background: linear-gradient(to bottom, #7a6b40 0%, #3b3038 60%, #011633 90%, #020202 95%, #020202 100%);
margin: 0px auto;
overflow: hidden;
}
.moon {
position: absolute;
height: 50px;
width: 50px;
border-radius: 50%;
left: 17%;
background: #ffa700;
box-shadow: 0px 0px 30px 0 #ffa700;
top: 29%;
}
.moon:after {
content: "";
position: absolute;
height: 2.5px;
width: 2.5px;
background: #d3bf9a;
opacity: 0.75;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0