On "Embrace the platform"
One of the most important mantras in web development
If there’s one thing you can do to make your websites better, it is to embrace what the web platform gives you: HTML, CSS, and JavaScript - in that order.
— Bramus
Sticking to the platform, embracing its capabilities and its limitations, will make your life (and imo the lives of your users) a LOT easier. Thinks will usually just work and if they don’t, everybody knows it’s this quirky thing and there will be a workaround.
Things will behave and look similar and thus satisfy Jakob’s Law. Your product will be better, I think. Period.
And in the end the web is a platform most of us really enjoy. That’s why we work on it, right? Then let’s embrace it, instead of trying to make it something it’s not.