<!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: 350px;
background-color: black;
margin: 0 auto;
}
div.top{
width: 250px;
height: 250px;
padding: 10px;
/* background-color: #ffffff;*/
}
div.text{color: #ffffff;
text-align: center;
}
div#outer{
height: 100%;
border:5px solid #cccccc;
border-radius:500px;
padding: 20px;
}
div#inner{
height: 100%;
border: 10px solid #ffffff;
border-radius: 500px;
}
</style>
</head>
<body>
<div class="article">
<div class="top">
<div id="outer">
<div id="inner">
</div>
</div>
</div>
<div class="text">HI!!!</div>
</div>
</body>
</html>
呼吸灯 不动
最新推荐文章于 2024-08-07 21:02:54 发布