x
1
2
<html>
3
<head>
4
<meta charset="utf-8">
5
<style>
6
div {
7
border: 2px solid #a1a1a1;
8
padding: 10px 40px;
9
background: #dddddd;
10
width: 300px;
11
border-radius: 25px;
12
}
13
</style>
14
</head>
15
<body>
16
17
<div>border-radius 属性允许您为元素添加圆角边框! </div>
18
19
</body>
20
</html>