Description
Summary
- A Utility Class for Covering Elements Sun Dec 06 2020 Here’s something I find myself needing to do again and again in CSS: completely covering one element with another.
- If we’re using the default left-to-right writing mode this will map to top, bottom, left, right in that order, but other writing modes (as well as the direction property) will cause the values to be mapped differently.
- Browser support At the time of writing inset is only supported in Chrome and Firefox, so if you want to use it in production you’ll need to provide a fallback for non-supporting browsers.