New Margin and Padding Properties

preview_player
Показать описание
Over the last couple years a few new padding and margin properties have been added to the browsers. These new properties are intended to become future replacements for the old approach to margin and padding. These new methods work well with multi-lingual support for languages that are written in directions other than left to right.

Рекомендации по теме
Комментарии
Автор

Very clear sir, thanks for making the video!

moudenhicham
Автор

Thank you for the video and explanation! I like the padding/margin block start/end. It's too bad they didn't add a way to have a padding-block-end additional argument for not having that padding on the last element. I like applying white space on the container and address this by finding the p:last-child or last-of-type to make the padding zero on that last one. So glad to see you back making videos!!!

TillmanTech
Автор

Man, this was so much easier to understand than W3schools

mzaemwangasu
Автор

That was very very useful to me Thanks alot for such an informative video

Aziz-kwct
Автор

Ok, I understand why we need inline, but how block relates to RTL/LTR?

sighupcmd
Автор

Very clear sir, thanks for making the video!

somewhereatvinland