Menu

1 / 4

CSS Layout Engineering - How Interfaces Adapt to Different Screens 003

JavaScript in Plain English - Medium·Kenuka Karunakaran·6 days ago
#Cgf88NVG
Reading 0:00
15s threshold

Member-only story

CSS Layout Engineering - How Interfaces Adapt to Different Screens 003

Kenuka Karunakaran

9 min read17 hours ago

Understanding the box model, layout algorithms, Flexbox, Grid and responsive design.

Press enter or click to view image in full size Cover Image

Hey guyz.. After exploring how browsers construct and render webpages, I wanted to understand another important part of frontend engineering. How does a browser decide where every element belongs on a webpage? Think about an online shopping application. It might have a navigation bar, product cards, search filters, images, buttons and several content sections.

On a desktop, these elements might appear side by side. On a mobile device, they may be stacked vertically. The content hasn’t necessarily changed, but the layout has.

How does that happen?

That’s where CSS layout systems come into play.

Not a Medium Member?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.