利用 CSS 设置外边框


要利用 CSS 设置外边框,可以使用border-style 属性,值设为 outset。

示例

<html>
   <head>
   </head>
   <body>
      <p style = "border-width:4px; border-style:none;">
         This is a border with none width.
      </p>
      <p style = "border-width:4px; border-style:outset;">
         This is outset border.
      </p>
   </body>
</html>

更新时间: 03-Feb-2020

423 次浏览

开启你的职业生涯

完成课程,获得认证

开始学习
广告