rounded
![](https://img-blog.csdnimg.cn/direct/1fa7ae033b914de69ebca589197cfc63.png)
![](https://img-blog.csdnimg.cn/direct/f17aa8c5464344e89ccf04f9b00d2edf.png)
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- 引入 bootstrap.css -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js"></script>
<style>
span {
display: inline-block;
width: 70px;
height: 70px;
margin: 6px;
background-color: #282a36;
}
</style>
</head>
<body>
<span class="rounded"></span>
</body>
</html>
<!--
圆角:rounded
注意!
在Bootstrap 5中的圆角类rounded是为元素的所有边添加圆角,使得元素的角落更加平滑而非尖锐。
-->