Lab Sheet 5: Understanding the CSS Box Model and Positioning
đŸ§© Part A: Exploring the CSS Box Model
Exercise 1 – Basic Box Model Visualisation
Objective: Understand how padding, border, and margin affect an element’s total size.
Steps:
Create a new HTML file named boxmodel.html.
Add the following code:
<!D...
techxnomad.hashnode.dev3 min read