Edit This Code:
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../lib/w3.css">
<body class="w3-container">

<h2>Borders</h2>

<div class="w3-container w3-section w3-border-left w3-border-right">
  <p>I have a left and right border.</p>
</div>

<div class="w3-container w3-section w3-border">
  <p>I have borders on all sides.</p>
</div>

<div class="w3-container w3-section w3-border-bottom w3-border-red">
  <p>I have a red bottom border.</p>
</div>

<div class="w3-container w3-section w3-border w3-round-xlarge">
  <p>I have rounded borders.</p>
</div>

<div class="w3-container w3-section w3-pale-blue w3-leftbar w3-border-blue">
  <p>I have a blue leftbar.</p>
</div>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy