Poly
Poly
KPCKevin Powell - Community
Created by Poly on 1/18/2024 in #front-end
Should I use margin-block or traditional margin properties?
Recently learned about the margin-block property in CSS, which sets margins based on the writing direction. I’ve been using traditional margin properties like margin-top, right, bottom, left. Questions: 1. Should I start using margin-block by default instead of the traditional margin property?
2. Is margin-block only used to support different languages and writing modes? 3. Aside from being unable to support older browsers, are there any downsides to using margin-blocks?
2 replies