CSS Box model

Credit: MDN
  • Content Edge — The content edge of the box where text and images appear.
  • Padding Edge — Clears an area around the content. The padding is transparent.
  • Border Edge — A border that goes around the padding and content.
  • Margin Edge — Clears an area outside the border. The margin is transparent.

--

--

--

Developer with 3 yrs of industrial experience in developing scalable web applications.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flutter State Management with Provider — NotifyListeners x StreamProvider — Part 1

Using Github copilot to get the tweets for a keyword and find the sentiment of each tweet in 2 mins

How to design a thread pool?

The A-Zs of Web Development

Unpacking Agile Jargon: An Introduction To Agile Methodology And Terminology

Widgets: TabBar

Load Balance and Scale Node.js Containers with Nginx and Docker Swarm

1 Mindset So You Will Be A Successful Developer? 🧑‍💻👩‍💻

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhay Jain

Abhay Jain

Developer with 3 yrs of industrial experience in developing scalable web applications.

More from Medium

CSS Grid Part-1

HTML — Part-6

first road to html

Customizing Bootstrap 5 with SASS