首页htmltextPage Widget - 如何使用CSS3 border-radius为使用圆角边框的文本创建高亮显示

Page Widget - 如何使用CSS3 border-radius为使用圆角边框的文本创建高亮显示

我们想知道如何使用CSS3 border-radius为使用圆角边框的文本创建高亮显示。

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div {
  background: #fcf8b3;
  border: 1px solid #aaa;
  margin: 10px;
  padding: 10px;
  width: 330px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}
</style>

</head>
<body>
  <div>Rounded corners are pretty cool.</div>
</body>
</html>