Week3day3 Selectors Webpage Box Model
Today we understand what the webpage box model is, and how to interact with the webpage box model.
Element selector - selects HTML elements based on the element name. ID selector - Uses the ID attribute to select a specific element ( to select based on an ID use a # symbol) Class Selector- selects HTML elements with a specific class Descendant Selector- Matches all elements that are descendants of a specified element
The Box Model
-Everything in CSS has a box around it.
Display - Display property various values
Margin padding and borders will apply and cause other inline boxes to move away from the box