outline-width

書式 outline-width:幅
対象全ての要素
継承しない
初期値 medium
解説
アウトラインの幅を指定します。
サンプルコード
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
<style type="text/css"><!--
body { margin:0px; }
div { position:absolute; left:10px; top:10px;width:300px;height:100px;
border:0px black none;
outline-color:red;
outline-style:solid;
outline-width:8px;
}
--></style>
</head>
<body>
<img src="Default.png">
<div>Sample Text</div>
</body>
</html>
実際のサンプルをダウンロード