呼吸灯代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
box-sizing: border-box;
}
div.article{
width: 250px;
height: 700px;
background-color: black;
margin: 0 auto;
}
div.top{
width: 250px;
height: 250px;
padding: 1px;
}
div.text{
color:#ffffff;
text-align: center;
}
div#outer{
height: 100%;
border: 5px solid #cccccc;
border-radius: 50%;
padding: 30px;
}
div#inner{
height: 100%;
border: 10px solid #ffffff;
border-radius: 50%;