CSS color vs. background-color vs. background Quick answer Color = Text Color Background-color = the color of the background Background = gives you the posibillity to set color, image , etc.. It's a shorthand properties of CSS. Size units in CSS %= relative to parent vw, vh= absolute, not dependant px= absoulute em= relative to parent rem= relative to root element, HTML Margin;auto; properties in css The margin: auto; property in CSS is used to center an element horizontally within its parent container. It sets the left and right margins of the element to automatically adjust and distribute the available space equally on both sides. Here's a breakdown of how it works: Horizontal centering: When you apply margin: auto; to an element, it will calculate the left and right margins to make the element centered horizontally within its parent container. Available space: The element needs to have a specified width for margin: auto; to work correctly. I...