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?
1 Reply
Coder_Carl
Coder_Carl10mo ago
its never a bad thing to get your head around logical properties. that being said, if you use logical properties on some parts and then on others you dont, it may look strange to someone when their browser uses what you have
Want results from more Discord servers?
Add your server