CSS
.sample-solid {
border: 1px solid gray;
width: 80px;
height: 40px;
margin: 0em 0em 0em 1em;
}
.sample-dashed {
border: 1px dashed gray;
width: 80px;
height: 40px;
margin: 0em 0em 0em 1em;
}
.sample-dotted {
border: 1px dotted gray;
width: 80px;
height: 40px;
margin: 0em 0em 0em 1em;
}
.sample-10 {
border: 10px solid #993333;
width: 80px;
height: 40px;
margin: 0em 0em 0em 1em;
}
HTML
<h5>1px solid</h5>
<div class="sample-solid"></div>
<h5>1px dashed</h5>
<div class="sample-dashed"></div>
<h5>1px dotted</h5>
<div class="sample-dotted"></div>
<h5>10px solid</h5>
<div class="sample-10"></div>
表示
1px solid
1px dashed
1px dotted
10px solid