{"id":95,"date":"2022-01-11T23:46:20","date_gmt":"2022-01-11T23:46:20","guid":{"rendered":"https:\/\/melfaeforest.xhere.eu.org\/?p=95"},"modified":"2022-02-02T21:42:05","modified_gmt":"2022-02-02T21:42:05","slug":"html-css-course-day-5-the-css-box-model","status":"publish","type":"post","link":"https:\/\/melfaeforest.xhere.eu.org\/?p=95","title":{"rendered":"HTML\/CSS Course \u2013 Day 5 \u2013 The CSS Box Model"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>The CSS Box Model consists of 5 parts:<\/p>\n\n\n\n<p>1) Content \u2013 The actual content of the element. It can be anything, such as text, images, videos, etc.<\/p>\n\n\n\n<p>2) Border \u2013 A line around the element, and still inside of the element.<\/p>\n\n\n\n<p>3) Padding \u2013 Invisible space around the content, and also inside of the element.<\/p>\n\n\n\n<p>4) Margin \u2013 Space OUTSIDE of the element, and between other elements.<\/p>\n\n\n\n<p>5) Fill Area \u2013 Area that gets filled with background color or background image. Inside the element.<\/p>\n\n\n\n<p>The calculation of the final element width and height:<\/p>\n\n\n\n<p>Final element width = left border + left padding + width + right padding + right border.<\/p>\n\n\n\n<p>Final element height = top border + top padding + height + bottom padding + bottom border.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The CSS Box Model consists of 5 parts: 1) Content \u2013 The actual content of the element. It can be anything, such as text, images, videos, etc. 2) Border \u2013 A line around the element, and still inside of the element. 3) Padding \u2013 Invisible space around the content, and also inside of the element. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-html-css-course","tag-html-css-course"],"_links":{"self":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":2,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":285,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/285"}],"wp:attachment":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}