Understand possible values for CSS transform property with this cheat sheet π
π1
CSS Margin and Paddingπ₯π€
π Margin
Margin is used for controlling spacing around elements in a web page.
This creates space between an elementβs border and its neighbouring elements.
Margin is used for controlling spacing around elements in a web page.
This creates space between an elementβs border and its neighbouring elements.
π Margin Properties
βͺοΈmargin-top: sets the margin on the top side.
βͺοΈmargin-bottom: sets the margin on the bottom side.
βͺοΈmargin-left: sets the margin on the left side.
βͺοΈmargin-right: sets the margin on the right side.
βͺοΈmargin: sets the margin for all four sides.
βͺοΈmargin-top: sets the margin on the top side.
βͺοΈmargin-bottom: sets the margin on the bottom side.
βͺοΈmargin-left: sets the margin on the left side.
βͺοΈmargin-right: sets the margin on the right side.
βͺοΈmargin: sets the margin for all four sides.
π Margin 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 container
βͺοΈinherit - makes the margin inherit from the parent element.
β‘οΈNegative values are allowed.
βͺοΈauto - the browser calculates the margin
βͺοΈlength - specifies a margin in px, pt, cm, etc.
βͺοΈ% - specifies a margin in % of the width of the container
βͺοΈinherit - makes the margin inherit from the parent element.
β‘οΈNegative values are allowed.
π Margin Shorthand Property
You can use the margin shorthand property to set all four margin values at once.
You can use the margin shorthand property to set all four margin values at once.
π Padding
Padding is used to create space between an elementβs content and its border.
It affects the space inside the element.
Padding is used to create space between an elementβs content and its border.
It affects the space inside the element.
π Padding Properties
βͺοΈpadding-top: sets the padding on the top side.
βͺοΈpadding-bottom: sets the padding on the bottom side.
βͺοΈpadding-left: sets the padding on the left side.
βͺοΈpadding-right: sets the padding on the right side.
βͺοΈpadding: sets the padding for all four sides.
βͺοΈpadding-top: sets the padding on the top side.
βͺοΈpadding-bottom: sets the padding on the bottom side.
βͺοΈpadding-left: sets the padding on the left side.
βͺοΈpadding-right: sets the padding on the right side.
βͺοΈpadding: sets the padding for all four sides.
π Padding Values
βͺοΈlength - specifies padding in px, pt, cm, etc.
βͺοΈ% - specifies padding in % of the width of the container
βͺοΈinherit - makes the padding inherit from the parent element
βͺοΈlength - specifies padding in px, pt, cm, etc.
βͺοΈ% - specifies padding in % of the width of the container
βͺοΈinherit - makes the padding inherit from the parent element
π Padding Shorthand Property
You can use the padding shorthand property to set all four padding values at once.
You can use the padding shorthand property to set all four padding values at once.
14 sites that offer remote jobs that pay in dollars.
π°dice .co
π°remote .co
π°devsnap .io
π°remotive .io
π°remoteok .io
π°flexjobs .com
π°upwork .com
π°whoishiring .io
π°justremote .co
π°remotefront .io
π°wellfound .com
π°powertofly .com
π°skipthedrive .com
π°authenticjobs .com
π°dice .co
π°remote .co
π°devsnap .io
π°remotive .io
π°remoteok .io
π°flexjobs .com
π°upwork .com
π°whoishiring .io
π°justremote .co
π°remotefront .io
π°wellfound .com
π°powertofly .com
π°skipthedrive .com
π°authenticjobs .com
β€4π2
Career tip:
Always be interview ready.
If your employer has multiple options
So should you.
#techtip
@javascript_resources
Always be interview ready.
If your employer has multiple options
So should you.
#techtip
@javascript_resources
π₯1π1