CSS Layout

in order to create a three column layout, we can use the CSS Flexbot layout module, it is made out of a flex container, flex items within that container

I’ll show the coding and the results below:

Screenshot 2024-11-25 at 11.45.34.png

Adding in the flex code

Screenshot 2024-11-25 at 11.54.49.png

Adding in the thirds class, what is cool about this is that It is responsive and will change the scale of the item one/two to always be 1/3 or 2/3s of the page when the page is scaled narrower

Screenshot 2024-11-25 at 12.09.04.png

We then used this in our html to create this layout

Screenshot 2024-11-25 at 12.31.36.png

HTML code

Screenshot 2024-11-25 at 12.32.19.png

CSS Code

Screenshot 2024-11-25 at 11.41.50.png

Responsive Design

creating a web page that will scale to every type of screen whether that is a tv, monitor, billboard or any form of screen it will adjust appropriately about that

There are too many screen sizes to create a design for each

Breakpoints

a breakpoint defines a screen size where the design should adjust to a different layout

Common Breakpoints