border | |
Syntax: border: border-width | border-style | border-color |
<style type="text/css"> .demo1 { border: 10px solid #FF0000; width: 200px; height: 50px; } </style> <div class="demo1"></div> |
|
<style type="text/css"> .demo2 { border: 10px dotted #0000FF; width: 200px; height: 50px; } </style> <div class="demo2"></div> |