filter: xray();

Browser
  • IE
Type
  • Extension

The x-ray filter add the x-ray effect to the element.


#example {
filter: xray();
}

Example

The original

<img src="image/friend.gif" alt="IMG" width="170" height="140">

Output
IMG

<div style="font: bold 170% sans-serif; width: 100%;">
Example text
</div>

Output
Example text
The x-ray effect

<img src="image/friend.gif" alt="IMG" width="170" height="140" style="filter: xray();">

Output
IMG

<div style="font: bold 170% sans-serif; width: 100%; filter: xray();">
Example text
</div>

Output
Example text