Aryan PrajapatKnowledge Contributor
What does margin: 40px 100px 120px 80px signify?
What does margin: 40px 100px 120px 80px signify?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
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.
Therefore, margin: 40px 100px 120px 80px signifies:
top = 40px
right = 100px
bottom = 120px
left = 80px