motionblur

書式

motionblur

対象

div, span, body, button, img, input, textarea, marquee, table, thead, tdtfoot, th, tr要素

継承

-

初期値

-

バージョン

独自プロパティ

対応ブラウザ

Win IE5.5以降

解説

モーションブラー効果を指定します。タグによってはposition:absoluteで絶対座標を指定する必要があります。以下のパラメータが指定できます。
設定名方法
enabled フィルタ効果スイッチ (0:オフ、1:オン)
add 0:合成しない、1:合成する
direction 角度 (45度単位)
strength 強さ
サンプルコード
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
<style type="text/css"><!--
body { margin:0px; }
div {
filter:progid:DXImageTransform.Microsoft.MotionBlur(direction=45,strength=8);
position:absolute;
top:0px;
left:0px;
width:320px;
height:64px;
}
--></style>
</head>
<body>
<div>
 ここのブロックがInternet Explorer独自のフィルタが適用されている部分になります。<br>
<img src="rainbow.gif">
</div>
</body>
</html>
実際のサンプルを実行する