Using @supports (transform: rotateX(45deg) )
If the browser supports the transform
property and a value of rotateX(45deg)
, the image below will be rotated, and the background light green. Otherwise, the background will be light purple.
If you can see this paragraph, congratulations! Your browser supports @supports and transform: rotateX(45deg)
!