Autoprefixing with CSS Variables

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…

Read the entire article at the source link…




I am happy to share this resource that I found. The content displayed on this page is property of it’s original author and/or their organization.




Leave a Reply

You must be logged in to post a comment.