CSS Bliss: Padding & Margin !!

Опубликовано: 31 Март 2025
на канале: DevVault
106
1

CSS Margins:
CSS margins are used to create space around the element. We can set the different sizes of margins for individual sides(top, right, bottom, left).

Margin properties can have the following values:
Length in cm, px, pt, etc.
Width % of the element.
Margin calculated by the browser: auto.

The margin property is a shorthand property having the following individual margin properties:

margin-top: It is used to set the top margin of an element.
margin-right: It is used to set the right margin of an element.
margin-bottom: It is used to specify the amount of margin to be used on the bottom of an element.
margin-left: It is used to set the width of the margin on the left of the desired element.
Note: The margin property allows the negative values.

For more:
Github: https://github.com/Umii010
Quora: https://www.quora.com/profile/UmerSha...
Second Channel:    / @worldthrill001  
Facebook: https://www.facebook.com/profile.php?...
Instagram: https://instagram.com/umer.023?igshid...
Twitter: https://twitter.com/umers_00?t=Witl0k...
Linkedln:   / umer-shahzad-a94321212  

"Remember, in the world of programming, the only limit is your imagination—so keep coding and let your ideas unfold!"


#MAD9013,#CSS,#Css tutorial,#HTML,#CSS box model,#box model,#CSS padding,#CSS margin,#padding tutorial,#margin tutorial,#3 padding values,#3 margin values,#CSS 3 padding values,#CSS 3 margin values,#Kevin Powell,#tutorial,#css,padding,#margins and padding,#margins vs padding,#the difference between margin and padding,#how to use margin,#how to use padding,#margin and padding,#margin and padding deep dive,#margin vs padding,#margin,#auto margin,#center css,#umer shahzad in os