Horje Website
W3css Ref Border-color – W3css References – W3.CSS Reference

W3css Ref Border-color – W3css References

W3css Ref Border-color - W3css References


 
  1. <!DOCTYPE html>
  2. <html>
  3. <title>W3.CSS</title>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
  6. <body>
  7. <div class="w3-container">
  8. <h2>Border Colors</h2>
  9. <div class="w3-container w3-border">
  10. <p>The w3-border class adds a border to an element.</p>
  11. <p>The default border-color is gray.</p>
  12. </div><br>
  13. <div class="w3-container w3-border w3-border-red">
  14. <p>Red border</p>
  15. </div><br>
  16. <div class="w3-container w3-border w3-border-green">
  17. <p>Green border</p>
  18. </div><br>
  19. <div class="w3-container w3-border w3-border-blue">
  20. <p>Blue border</p>
  21. </div><br>
  22. <div class="w3-container w3-border w3-border-yellow">
  23. <p>Yellow border</p>
  24. </div><br>
  25. <div class="w3-container w3-border w3-border-grey">
  26. <p>Grey border</p>
  27. </div><br>
  28. <div class="w3-container w3-border w3-border-black">
  29. <p>Black border</p>
  30. </div>
  31. </div>
  32. </body>
  33. </html>



Try Your Self ->



Published:
October 8, 2020
Author:
admin
Category:
W3.CSS References, W3.CSS Source Code
Views:
30

This article was posted in W3.CSS References, W3.CSS Source Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023