Advertisement
PuriDevelopers

Support CSS compatibility

Jan 25th, 2024 (edited)
654
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.43 KB | None | 0 0
  1. @supports(height: 100vh) {
  2.     #supportVH::after {
  3.         content: "✅ YES";
  4.         background-color: lightgreen;
  5.     }
  6. }
  7.  
  8. @supports(height: 100dvh) {
  9.     #supportDVH:after {
  10.         content: "✅ YES";
  11.         background-color: lightgreen;
  12.     }
  13. }
  14.  
  15. @supports(height: 100madeup) {
  16.     #supportMadeUp:after {
  17.         content: "✅ YES";
  18.         background-color: lightgreen;
  19.     }
  20. }
  21.  
  22. https://caniuse.com/?search=supports
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement