Learn icon indicating copy to clipboard operation
Learn copied to clipboard

Padding Versus Margins - Tutorial

Open westnz opened this issue 3 years ago • 6 comments

westnz avatar Sep 13 '22 01:09 westnz

https://user-images.githubusercontent.com/89751452/190931323-25a52025-e515-48ba-b751-7302200161a2.mp4

westnz avatar Sep 18 '22 22:09 westnz

Maybe it would be better to call Padding and Margin properties instead of elements in the intro?

vagelisp avatar Sep 19 '22 01:09 vagelisp

Hi @westnz, Thanks for sharing this tutorial. Here are my comments.

  • Tutorial shows very clear difference between padding and margin.
  • You have shown the exact option for padding and margin at the block level.
  • Tutorial also shows one crucial point - Margin settings change only top and bottom and not right or left.

amitpatel0702 avatar Sep 19 '22 07:09 amitpatel0702

Thank you @vagelisp and @amitpatel0702

westnz avatar Sep 19 '22 20:09 westnz

Thanks @westnz for your wonderful video tutorial.

I have few confusions/suggestions though:

  • I always heard these words as Padding and Margin. May be the title would sound better with Margin instead of Margins.
  • I wonder why there is no Margin Left and Right. I haven’t used much blocks but there is Margin Left and Margin Right property. May be if we try to add margin inside the box (any item within the box), then margin left and right option will appear. Anyway, I am not a block expert. So ignore me if I am wrong 😄

Thanks for your effort. Hope it will be published soon 😊

robinwpdeveloper avatar Oct 08 '22 11:10 robinwpdeveloper

Thank you @robinwpdeveloper

westnz avatar Oct 14 '22 07:10 westnz

Published: https://learn.wordpress.org/tutorial/padding-versus-margin/

westnz avatar Nov 17 '22 01:11 westnz