帮我写一个三个点大小的骰子的形状的网页代码
时间: 2023-04-07 11:05:32 浏览: 71
骰子样式html.html
以下是一个简单的三个点大小的骰子的形状的网页代码:
<!DOCTYPE html>
<html>
<head>
<title>三个点大小的骰子</title>
<style>
.dice {
width: 100px;
height: 100px;
border: 1px solid black;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-content: space-between;
padding: 10px;
}
.dot {
width: 30%;
height: 30%;
background-color: black;
border-radius: 50%;
}
</style>
</head>
<body>
<div class="dice">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</body>
</html>
阅读全文