Use this instead of media queries or container queries
Media queries are a bit limited in how they work, and while container queries go a really long way in solving a lot of those limitations, there are intrinsic patterns that we can follow that allow us to do things that neither one of them can do.
The setup is a bit strange and can look complex, but, in my opinion, it’s also 100% worth it!
🔗 Links
✅ Why complex CSS is okay:
✅ Finished version, flexbox example:
✅ Finished version, grid example:
⌚ Timestamps
00:00 - Introduction
01:00 - What we’re going to be creating
01:56 - New merch!
02:22 - Changing flexbox layout based on the width of one of its children
09:30 - The grid solution
#css
--
Come hang out with other dev’s ...
#KevinPowell #Kevin_Powell #css #front-end #frontend #html #web_development #css_tutorial #tutorial #responsive
20240206
LEkFckg7sfw
1 view
391
104
2 weeks ago 00:05:17 1
The Ultimate Email Extractor in 2024: YellowPages Scraper 🌎
2 weeks ago 00:20:33 1
Movie “Wicked” Sign of the End Time
2 weeks ago 00:04:14 1
Paramore: Decode [OFFICIAL VIDEO]
2 weeks ago 00:03:37 1
Админы Актуального Курска и другие куряне, покажите общественные туалеты Курска .?!) #курскиймайор
2 weeks ago 11:54:56 1
1 minute ago, the plane carrying the US President and 10 Ministers was shot down by 3 Russian MIG-29
2 weeks ago 11:55:00 1
13 minutes ago! First Largest US Naval Base Bombarded by Russian MIG 29 Arma3
2 weeks ago 00:12:48 1
The Brand New STIHL MS400.1! WHY is this CHAINSAW different?
2 weeks ago 00:05:32 1
Queen - Bohemian Rhapsody (Live at Rock Montreal, 1981) [HD]
2 weeks ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready
2 weeks ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
2 weeks ago 00:06:39 1
TRAINS ADDON MCPE with 5 Powerful Train Engines in Minecraft Bedrock #minecraftpe #minecraft
2 weeks ago 00:03:04 1
Arena Of Valor Hack - How to Get Unlimited Vouchers! iOS Android
2 weeks ago 00:06:21 1
Richie Sambora Deep Purple cover When A Blind Man Cries LG — «Momentos»
2 weeks ago 00:13:15 1
BREAKING: MASS EXODUS Of Soldiers Rock IDF After BLOODIEST DAY EVER in Lebanon
2 weeks ago 00:00:35 1
This Takodachi Bites Ina
3 weeks ago 00:01:00 1
Big Fails 😂😂😂
3 weeks ago 00:37:34 1
Chorallas - Desert Lambs (1969) [Full Album]
3 weeks ago 00:31:07 1
35 Advanced English Verb Rules
3 weeks ago 01:07:58 1
C’EST GRAVE! Un agent de l’ONU admet que la guerre est le seul moyen de gagner beaucoup d’argent
3 weeks ago 00:23:23 1
Create CONSISTENT CHARACTERS from an INPUT IMAGE with FLUX! (ComfyUI Tutorial + Installation Guide)
3 weeks ago 00:26:03 1
Why I Voted For Donald Trump
3 weeks ago 00:04:14 1
The Hunter - Bloodborne (4K UHD 2024)
3 weeks ago 00:00:00 1
THE LOST CHILDREN Netflix Documentary Review (2024)
3 weeks ago 00:16:36 1
PS5 Pro | LEGO Horizon Adventures | Performance / Gameplay