
The xRay() filter renders only the edges of the element. The general formats for the xRay() filter are shown below.
CSS: filter:xRay() DOM: object.style.filter="xRay()" |
An xRay() filter does not enlarge the element to which it is applied. Therefore, it can be applied directly to an element rather enclosing it inside a container.
<img src="Macaws.jpg" style="filter:xRay()"/>