Рет қаралды 6,140
FULL STACK COURSE (React, Flask, & PostgreSQL): lukepeters.me/build-a-full-st...
You don't need Tailwind, Bootstrap, or any other CSS framework to make some nice responsive multi-column layouts with fixed gutters. Flexbox makes it super easy to create two column layouts, three column layouts, and any other variation quickly.
0:00 - Intro
0:13 - Write the HTML and CSS for the responsive columns
5:10 - Add a media query for smaller screens
5:40 - Make sure flexbox items can wrap
7:09 - Use the box-sizing property to prevent inconsistent column widths
8:11 - Adding full-width, third-width, and quarter-width columns
11:36 - Wrapping up
---------------------------------------------------------------
PROJECT RESOURCES
➡️ Check out the final code: codepen.io/lukepeters/full/KK...
---------------------------------------------------------------
RECOMMENDED WEB HOSTING
I swear by Linode. I've been using them for years and I refer every freelance client to them. Here's my special referral link if you want to help me out a little: lukepeters.tech/linode
---------------------------------------------------------------
MY DESK SETUP GEAR
⌨️ Keyboard - amzn.to/3sR3WEK
🖱 Mouse - amzn.to/3aEBvnc
🖥 Monitor - amzn.to/30pmuzd
🦾 Monitor Mount/Arm - amzn.to/3sLd3Xu
🎤 Microphone - amzn.to/3sRfxUb
🦾 Microphone Arm - amzn.to/3xrxImT
🎛 Microphone Processor - amzn.to/3gConme
⚡️ Thunderbolt Dock - amzn.to/3aE8aJC
🔊 Speakers - amzn.to/3nip0D0
🎧 Headphones - amzn.to/3xoCVfm
🪑 Chair - amzn.to/3eBIw9I
---------------------------------------------------------------
Intro music produced by Connor Curley