Recently, when I was making the minisite for markapp.io, I realized a neat trick one can do with CSS variables, precisely due to their dynamic nature. Let’s say you want to use a property that has multiple versions: an unprefixed one and one or more prefixed ones. In this example we are going to use
clip-path, which currently needs both an unprefixed version and a
-webkit- prefixed one, however the technique works for any property and any number of prefixes or different property…
We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.