| 12345678910111213141516171819202122232425262728293031 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>052 border styles</title>
- <style>
- body { background: #ffffff; color: #202020; font-family: sans-serif;
- margin: 12px; font-size: 18px; }
- .box { margin: 10px 0; padding: 10px; width: 520px; }
- .solid { border: 4px solid #202020; }
- .dashed { border: 4px dashed #b02020; }
- .dotted { border: 4px dotted #2020b0; }
- .mixed { border-top: 4px dashed #b02020;
- border-right: 4px dotted #2020b0;
- border-bottom: 4px solid #202020;
- border-left: 8px dashed #208020; }
- .none { border: 4px solid #202020; border-style: none; }
- </style>
- </head>
- <body>
- <h1>052 — border styles</h1>
- <div class="box solid">solid border</div>
- <div class="box dashed">dashed border</div>
- <div class="box dotted">dotted border</div>
- <div class="box mixed">mixed per-side styles (dashed / dotted / solid / dashed)</div>
- <div class="box none">border-style: none</div>
- <div style="background: #c8f0c8; color: #000000; padding: 8px; font-size: 18px;">
- BORDER-STYLES: dashed, dotted and per-side styles must be visible.
- </div>
- </body>
- </html>
|