052-border-styles.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>052 border styles</title>
  6. <style>
  7. body { background: #ffffff; color: #202020; font-family: sans-serif;
  8. margin: 12px; font-size: 18px; }
  9. .box { margin: 10px 0; padding: 10px; width: 520px; }
  10. .solid { border: 4px solid #202020; }
  11. .dashed { border: 4px dashed #b02020; }
  12. .dotted { border: 4px dotted #2020b0; }
  13. .mixed { border-top: 4px dashed #b02020;
  14. border-right: 4px dotted #2020b0;
  15. border-bottom: 4px solid #202020;
  16. border-left: 8px dashed #208020; }
  17. .none { border: 4px solid #202020; border-style: none; }
  18. </style>
  19. </head>
  20. <body>
  21. <h1>052 &mdash; border styles</h1>
  22. <div class="box solid">solid border</div>
  23. <div class="box dashed">dashed border</div>
  24. <div class="box dotted">dotted border</div>
  25. <div class="box mixed">mixed per-side styles (dashed / dotted / solid / dashed)</div>
  26. <div class="box none">border-style: none</div>
  27. <div style="background: #c8f0c8; color: #000000; padding: 8px; font-size: 18px;">
  28. BORDER-STYLES: dashed, dotted and per-side styles must be visible.
  29. </div>
  30. </body>
  31. </html>