Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note that inset is a very recent introduction, only supported by Firefox 66+, Chrome 87+ and Safari 14.1+ (14.5+ in iOS). It will take quite a while to use it without thinking.


Tooling can take care of these things, letting you write in the logical property style and translating it into the physical property style for compatibility.

e.g. https://github.com/csstools/postcss-logical


Why not you polyfill it if you care enough to hesitate?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: