CSS Environment Variables

Chris Coyier / filed under HTML & CSS

We were all introduced to the env() function in CSS when all that drama about “The Notch” and the iPhone X was going down. The way that Apple landed on helping us move content away from those “unsafe” areas was to provide us essentially hard-coded variables to use:

Join thousands of product people and get the latest articles and resources from my curation every day or week.