"Honestly, I have no idea how to ask, but if you donate using PAYTM to support me, It's gonna help me a lot."
PAYTM NUMBER: 9518369954
Blog For Source Code: https://thapatechnicalblog.blogspot.com/
Welcome all, we will see Differences Between Margin and Padding in CSS in Hindi
padding is the space between the content and the border.
CSS has properties for specifying the padding for each side of an element:
All the padding properties can have the following values:
length - specifies a padding in px, pt, cm, etc.
% - specifies a padding in % of the width of the containing element
inherit - Specifies that the padding should be inherited from the parent element
Note: Negative values are not allowed.
The CSS margin properties are used to create space around elements, outside of any defined borders.
With CSS, you have full control over the margins. There are properties for setting the margin for each side of an element (top, right, bottom, and left).
Margin - Individual Sides
CSS has properties for specifying the margin for each side of an element:
All the margin properties can have the following values:
auto - the browser calculates the margin
length - specifies a margin in px, pt, cm, etc.
% - specifies a margin in % of the width of the containing element
inherit - Specifies that the margin should be inherited from the parent element
Tip: Negative values are allowed.
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
Instagram Link: https://www.instagram.com/vinodthapa55
Facebook Link: https://www.facebook.com/vinodthapa55
Twitter Link: https://twitter.com/vb55thapa
Facebook ThapaTechnical Page Link: https://www.facebook.com/vinodbahadurthapa