Useful & Responsive Layouts, no Media Queries required

  Рет қаралды 163,660

Kevin Powell

Kevin Powell

Күн бұрын

Conquering responsive layouts: courses.kevinpowell.co/conque...
Here’s 5 quick responsive layouts that you can use, without any media queries!
There’s nothing wrong with media queries, and we still need them sometimes, but these can be really handy in the right situation!
🔗 Links
✅ Netflix scroller: • Can I create Netflix’s...
✅ Every Layout: every-layout.dev/
✅ Conquering Responsive Layouts: courses.kevinpowell.co/conque...
⌚ Timestamps
00:00 - Introduction
00:13 - The Cluster
01:10 - Nothing wrong with media queries
01:47 - Auto-grid
03:00 - Flexible grid
03:33 - Reel
05:41 - Do you struggle with responsive layouts?
06:12 - Main with sidebar
#css
--
Come hang out with other dev's in my Discord Community
💬 / discord
Keep up to date with everything I'm up to
✉ www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 / kevinpowellcss
---
Help support my channel
👨‍🎓 Get a course: www.kevinpowell.co/courses
👕 Buy a shirt: teespring.com/stores/making-t...
💖 Support me on Patreon: / kevinpowell
---
My editor: VS Code - code.visualstudio.com/
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my KZbin channel, make sure to follow me on Instagram and Twitter.
Twitter: / kevinjpowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

Пікірлер: 175
@amirdebbache2341
@amirdebbache2341 Жыл бұрын
My english is not good but I benefit from your channel a lot
@user-mk5xf2li9u
@user-mk5xf2li9u Жыл бұрын
Use wordtune
@KingTMK
@KingTMK Жыл бұрын
I usually don't comment, but I just wanted to say that this is such a great and eye-opening video when it comes to tackling very common problems with responsiveness. I appreciate it tons, so thanks for this!
@KevinPowell
@KevinPowell Жыл бұрын
Thanks so much! I appreciate that you took the time 😊
@vitfirringur
@vitfirringur Жыл бұрын
I stumble into some of your shorts and while I've been doing frontend dev for years, and feel like I can solve most CSS problems or implement most layouts, watching your videos is a humbling experience. I might as well not know CSS. Thanks a lot for the great content.
@blackpurple9163
@blackpurple9163 Жыл бұрын
Never thought of making those flex-wrap divs for tags/navs like that, this is actually what I wanted to figure out, thanks a lot
@octothorpe12
@octothorpe12 Жыл бұрын
Another big shoutout for Every Layout. I *constantly* go back to that to try and get my developers to learn to love the cascade.
@obsessedprogrammer700
@obsessedprogrammer700 Жыл бұрын
I recently worked on a large project and I happened to blend most of these layout tools together(also media queries), and the result was astonishing. Thanks, Kevin!
@seanszarkowicz2910
@seanszarkowicz2910 Жыл бұрын
These types of videos are amazing - great job. Love the detailed explanations with the possible pitfalls and solutions to those pitfalls !! Keep up the great work
@mrez5651
@mrez5651 Жыл бұрын
I have been a member for a month now and your videos helped me solve problems that i have been strugling with, for that i thank you You are a great mentor, always on the point!💯 ❤
@Tranqvilier
@Tranqvilier Жыл бұрын
I took Kevin’s course and it was great. It gave me a structured overview of responsive design. Can’t recommend it enough ❤
@iburu
@iburu Жыл бұрын
The last part with the side bar was exactly what what I've been struggling with for the last couple of days and now I've found the solution. Thank you Kevin.
@MrKOHKyPEHT
@MrKOHKyPEHT Жыл бұрын
It is really cool that in such short video all most common cases considered. Extremely helpful and useful. Thanks
@VasilyPavlik
@VasilyPavlik Жыл бұрын
After EVERY your video I have irresistible desire to rewrite at least a quarter of my current project. And a half of previous ones.
@angshumanburagohain1151
@angshumanburagohain1151 8 ай бұрын
Kevin doesn't disappoint when it comes to HTML & CSS. He teaches exactly what we need. I have learned a lot watching his videos and I am still learning and implementing it in real time projects. Thank you Kevin for making these videos it's really really helpful 🙏
@ichiroutakashima4503
@ichiroutakashima4503 Жыл бұрын
This video is genius. I really love it. I can't wait to refactor my codes with this. Love the touch ups.
@rajkiranchaudhary8769
@rajkiranchaudhary8769 Жыл бұрын
I often get issue when using flex-wrap. This video really helped me.. amazing as usual
@potrosanjuan
@potrosanjuan Жыл бұрын
I'm speechless, I just can not imagine CSS without your videos, thank you so much for such a great videos!!!!!!!!!!
@ericvandruten
@ericvandruten Жыл бұрын
Awesome, Kevin! thanks. Coincidentally i was just thinking about implementing one of these layouts, so perfect timing as well!
@hellboyfbyao3
@hellboyfbyao3 11 ай бұрын
Thank you so much for all you shared so far and for the free course as well. Really appreciate it!
@appdevinsights30
@appdevinsights30 Жыл бұрын
I learned a lot with just 11 minutes. Excellent CSS knowledge. Thank you so much.
@alwaysgratefulmixail7569
@alwaysgratefulmixail7569 Жыл бұрын
Layouts have been a battle for me so thank you for this great video 😊
@MirzaMonirulAlam
@MirzaMonirulAlam Жыл бұрын
Fascinating video on youTube I have barely seen, and this video is the one. Your every css lessons made me think regarding css even in my busy schedules. Thank you to bring this kind of things to us.
@henrythomas7112
@henrythomas7112 2 ай бұрын
Thank you so much for this video. Super helpful and well-presented. Your time and effort is most appreciated!
@cscs6587
@cscs6587 Жыл бұрын
This repeat(auto-fit, minmax(min(200px, 100%), 1fr) is life changing. I was facing this problem in my current project and you helped me fix it. THANK YOU SIR
@composernotes
@composernotes Жыл бұрын
Thanks Kevin, this is such a clear summary of the best of flex and grid, I will be showing this to my web class next week!
@KevinPowell
@KevinPowell Жыл бұрын
Awesome, glad you enjoyed it enough to share with your class! Hope they enjoy it too 😊
@iservisat
@iservisat 3 ай бұрын
I can't thank you enough for all the content, tips etc you share. Keep it going master!!!
@paulsisson8944
@paulsisson8944 Жыл бұрын
I’m finishing up a React course right now and as soon as I’m done, I’m diving into CSS Demystified. Can’t freaking wait.
@Kozi03
@Kozi03 5 ай бұрын
Where have you been all my life. Thank you!
@Atractiondj
@Atractiondj 3 ай бұрын
Last layout trick with the sidebar very must have for me, I eliminated 2 media queries and 50 strokes of code
@vpgiang0205
@vpgiang0205 Жыл бұрын
this is one of the most awesome thing i ever can learn, thank you for sharing 💯
@Dalton_w
@Dalton_w Жыл бұрын
Really great tips! Didnt know about some of them techniques, thanks for the video!
@body220
@body220 10 күн бұрын
bro this guy is having tutorials for everything, thank you!
@georgeelliottphotography3602
@georgeelliottphotography3602 Жыл бұрын
Wow, I love it and saves so much time on creating media queries. Also, I like the new format Kevin. i.e. rather than type in every command, you just jump forward. Much better. George
@hut_fire1490
@hut_fire1490 Жыл бұрын
Your channel is a gem 🙌🏻thank you
@alvarojflores
@alvarojflores Жыл бұрын
Not fancy, but useful! Thank you, Kevin! Be healthy and successful!
@alialtwill6551
@alialtwill6551 Жыл бұрын
Thank you, thank you for the great video. I really appreciate the effort you put in Videos.
@danielChibuogwu
@danielChibuogwu Жыл бұрын
Ahhhhhhhhh, I love this guy, like I love this guy...that flex grow trick was just what i needed😂
@Chiaros
@Chiaros Жыл бұрын
One of your best videos ever, great work!
@kantinho69
@kantinho69 Жыл бұрын
This is gold, and only takes 11 minutes, omg.
@plecoe
@plecoe Жыл бұрын
Great demonstration!! Keep going....
@tenc6491
@tenc6491 Жыл бұрын
Superb as always🔥
@caiomarcellusmartinezcabra3061
@caiomarcellusmartinezcabra3061 Жыл бұрын
The flexbox hackery is just brilliant!
@fave1201
@fave1201 Жыл бұрын
The min hack on auto grid is awesome. I usually use media queries there and have a different template columns for smaller devices but now I can just write less code. 😁
@ldburn
@ldburn Жыл бұрын
I was pondering tables the other day and thought I'd come and have a gander here, you should definitely do a responsive table video. They can be a pain but there are times where tables are needed for information and the CSS behind them would be pretty interesting.
@KevinPowell
@KevinPowell Жыл бұрын
It's in the works :D
@ldburn
@ldburn Жыл бұрын
@@KevinPowell wicked 🙂 I do enjoy your videos, firmly believe there is always something new to learn or improve on and you always have something different to show 🙃
@iRockTheBeat1
@iRockTheBeat1 Жыл бұрын
Thank you Kevin
@hrgdavor
@hrgdavor Жыл бұрын
great video. Thank you for the useful examples.
@dinhoangduy
@dinhoangduy Жыл бұрын
I just wanna say, you and your contents are amazing!
@Edu-Coimbra
@Edu-Coimbra Жыл бұрын
Thank you so much for all your tutorials! A big hug from Brazil =)
@user-km9vl9ck9u
@user-km9vl9ck9u Жыл бұрын
great stuff Kevin, thank you!
@jeremyhorne6244
@jeremyhorne6244 Жыл бұрын
Thanks Kevin! Every day's a school day :)
@rankarat
@rankarat Жыл бұрын
Great video, thanks!
@pibbz13
@pibbz13 Жыл бұрын
You sir, have this really nailed down 🤩
@HocineKamikaz
@HocineKamikaz 11 ай бұрын
The content is 🔥🔥 Thank you 🌹
@andreiKspb
@andreiKspb Жыл бұрын
Kevin I love you )). Thanks bro for all staff
@dave6012
@dave6012 Жыл бұрын
I could never get the scroll snap stuff right! Thanks for the super simple example
@AlvinIsChipmunk
@AlvinIsChipmunk Жыл бұрын
Amazing work Kevin 😃 This is like a cheatsheet for me
@ridiculousgames365
@ridiculousgames365 Жыл бұрын
Hey Kevin, I love your videos and this one is super useful for what I'm doing at work right now. May I suggest reducing the size of your talking head bubble? It often blocks the content.
@anaf4072
@anaf4072 Жыл бұрын
One of a few best teachers ever!
@vasyaqwe2087
@vasyaqwe2087 Жыл бұрын
This is super useful, thanks!
@DC_YouTube2001
@DC_YouTube2001 Жыл бұрын
I really enjoy watching your video i have learned a lot Now i'm challenging myself to download all your Videos you ever created to my phone and keep it for learning purpose and in case i may have a student in the future your videos will really help a lot. Ones I make all the downloads I will create a short video and tag u
@user-jx9iw7uz1u
@user-jx9iw7uz1u 4 ай бұрын
your video is goldddd
@fabianjochenkanzler
@fabianjochenkanzler Жыл бұрын
it’s so cool to look at one of your videos realizing that i know everything you are explaining. i came up with the same solutions during coding, had the same hacks. that’s really uplifting. maybe i’m better skilled and have greater knowledge and understanding than i thought. thank you for that. and thank you for that video, putting that all in one place.
@codehal
@codehal Жыл бұрын
Great video sir ...
@nikhilpsathyanathan
@nikhilpsathyanathan Жыл бұрын
Simple and useful video
@StanleyBateswar
@StanleyBateswar Жыл бұрын
Really nice!
@D7460N
@D7460N Жыл бұрын
Thanks, Kevin for another great video! Question in regard to the reel demo. What if each horizontally scrolled section do not share the same height? One section has a lot of content causing the other sections to be comparatively empty. Thanks again for your good work.
@jwbonnett
@jwbonnett Жыл бұрын
For the sidebar I use min and max width with a width of 100% to get the same effect without the need to treat them differently.
@luismoriguerra669
@luismoriguerra669 Жыл бұрын
Thanks a lot! master
@Gahlfe123
@Gahlfe123 Жыл бұрын
literally what im working on right now
@keldiggs232
@keldiggs232 Жыл бұрын
Good lord...This dude is CSS Master!
@bilatungdulang9708
@bilatungdulang9708 Жыл бұрын
Flex is really simple, but it will usefull when build a simple design or for quick positioning block. Then, grid is a bit hard to deal with it at first, but it really more usefull to build a spesific or complex design.
@minhrdi
@minhrdi 21 күн бұрын
I'm having to maintain codes in which the previous dev used margin: -x to arrange things... I told my teammate that's not how CSS works and you should just go take up Kevin's course... Thank you!
@kodosensei
@kodosensei Жыл бұрын
Awesome !!!!! 🚀🚀🙌
@8koi245
@8koi245 Жыл бұрын
hahaha the last one was pretty interesting to solidify flex topics that aren't that used ~
@criztiandev
@criztiandev Жыл бұрын
your the chad sir kevin
@paulh6933
@paulh6933 Жыл бұрын
the last example was cool
@seanszarkowicz2910
@seanszarkowicz2910 Жыл бұрын
Thanks!
@KevinPowell
@KevinPowell Жыл бұрын
Thank you so much!
@michaellonsdale1248
@michaellonsdale1248 4 ай бұрын
Thanks Kevin
@KevinPowell
@KevinPowell 4 ай бұрын
Thanks so much!
@michaellonsdale1248
@michaellonsdale1248 4 ай бұрын
@@KevinPowell You're the greatest, brother Kevin.
@ravikiranpalaparthi615
@ravikiranpalaparthi615 Жыл бұрын
Thank you...
@bazimtsweni5343
@bazimtsweni5343 Жыл бұрын
You my friend, are a magician!😂😂😂
@dwarfbard
@dwarfbard Жыл бұрын
By the way it would be interesting to see how you would tackle accessibility options with modern website css.
@SoItGoesCAL34
@SoItGoesCAL34 Жыл бұрын
Great!.... Dare I say it? AWESOME :)
@lll-vq6pm
@lll-vq6pm 8 ай бұрын
sir can you make a video about loop reel scrolling please.
@lessons3141
@lessons3141 Жыл бұрын
useful content
@normanejm
@normanejm Жыл бұрын
I Love the 5:15... Was Amazing...
@olatunjiabayomi5945
@olatunjiabayomi5945 Жыл бұрын
hi. Kudos!. In the main-sidebar example, can you explain why the sidebar got so squashed up by the main in flex mode? I was expecting them to shrink at the same rate since there shrink is both 1 and their size is auto. Why is the side bar width so shrunk to min-content?
@nomadshiba
@nomadshiba Жыл бұрын
i have also been using: minmax(min(100%, 25rem), 1fr), a lot but i recently switched to just using minmax(0, 25rem), i mean its not the same but does the job, and a lot more clean
@nomadshiba
@nomadshiba Жыл бұрын
i mean if you are listing items it wont work but it works while doing layout
@RaveKev
@RaveKev Жыл бұрын
Wow, i want to print that video and hang it on my office wall!
@KevinPowell
@KevinPowell Жыл бұрын
Thanks so much, glad you enjoyed it!
@ArtyomStouch
@ArtyomStouch 4 ай бұрын
Вітання панові Кевіну з України, Ваші відео допомогають мені та полегшують навчання. Greetings to Mr. Kevin from Ukraine, your videos help me and make my studies easier.
@Irinyadler
@Irinyadler Жыл бұрын
Hi, thank you for a great video. Could you please make a video about tips on how to create an eco-friendly sustainable website? Now they are becoming highly requested among the clients. Thanks.
@KevinPowell
@KevinPowell Жыл бұрын
Well, the main thing would probably be keeping them simple and light-weight, I'm guessing... The more heavy lifting to fancy effects that the browser has to do, the more resources it will use. I'd be really curious on checking the power consumption of websites, not something I've ever looked into and I'm not even sure how to accurately test that. I think, in general, the difference would be pretty small, and it might be more of a marketing thing, but I'll see if I can't dig anything up to.
@TadRichard
@TadRichard Жыл бұрын
Is there a way to force flexbox to evenly distribute (by number) the child elements across rows? For example, if I have 8 elements and they can all fit in one row, display them as such. But if I reduce the width such that a second row is created, I'll end up with two rows of four instead of one row of seven followed by a row of one. Setting the grow value only seems to work across elements in the same row, not across all child elements in the flexbox.
@user-zr6yt7ub7h
@user-zr6yt7ub7h 2 ай бұрын
cool video)
@IvoPoetzsch
@IvoPoetzsch Жыл бұрын
Hi Kevin, thx for this Tutorial. I have a Question: How I can solve this with multiple Rows ? (I need a static Count of Columns but flexible Rows in a scroll Container). On Desktop it works but on mobile the Columns gives right a large Offscreen Space... :( many Thx)
@BGdev305
@BGdev305 4 ай бұрын
I'm confused, wouldn't using VW or REM instead of px for the widths be a better solution?
@NicoHeinrich
@NicoHeinrich 7 ай бұрын
4:30 This is magic. Why does the mouse wheel work horizontally?! I normally use JS for this ...
@deatho0ne587
@deatho0ne587 Жыл бұрын
Man what we used to have to do for these, prior to grid & flex.
@KevinPowell
@KevinPowell Жыл бұрын
Blood, sweat, and floats 😅 - it wasn't an especially fun time for layouts, but it was better than tables!
@intsfanatic
@intsfanatic Жыл бұрын
Wow, didn´t even know flex-grow can have a value of bigger than 1.
@danish7335
@danish7335 Жыл бұрын
Guys i learned responsive design with their conquering responsive layout.. If u have any problem to building responsive website so i believe (CRA) course is mandatory for you
@CharcoalBadger
@CharcoalBadger Жыл бұрын
Hey Kevin, your videos have been really helpful. I am new to web development and I have a question about these layouts. I understand that these are good for pages. Could I use grid to create the entire website layout and then put my components in? ( I am using react).
@KevinPowell
@KevinPowell Жыл бұрын
For sure, and you could use some of these within components too :D
@CharcoalBadger
@CharcoalBadger Жыл бұрын
@@KevinPowell Would I essentially add the grid layout in its own react component and then add each other component into it?. Thank you for the reply, your work and the way you teach is amazing.
@leodragonheart754
@leodragonheart754 4 ай бұрын
I have a question, is there a standard on how to set text sizes? Right now I am looking at each section at each breakpoint and use media queries to adjust the text sizes but there has to be a better non time consuming way of doing it
@pablofigueroa9455
@pablofigueroa9455 Ай бұрын
Genial..!!!
Learn how to use Media queries & Container queries
34:33
Kevin Powell
Рет қаралды 48 М.
Flexbox or grid - How to decide?
18:51
Kevin Powell
Рет қаралды 687 М.
SMART GADGET FOR COOL PARENTS ☔️
00:30
123 GO! HOUSE
Рет қаралды 21 МЛН
Genial gadget para almacenar y lavar lentes de Let's GLOW
00:26
Let's GLOW! Spanish
Рет қаралды 38 МЛН
I Trapped Myself in a Box with Colored Smoke!
00:50
A4
Рет қаралды 18 МЛН
Simple Yet Powerful: 5 HTML Elements to Use!
12:11
WebDev Frontiers
Рет қаралды 6 М.
3 modern CSS techniques for responsive design
14:32
Kevin Powell
Рет қаралды 208 М.
5 simple tips to making responsive layouts the easy way
15:54
Kevin Powell
Рет қаралды 732 М.
Avoid These 5 Awful CSS Mistakes
20:42
Kevin Powell
Рет қаралды 186 М.
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 349 М.
A simple approach to layouts when going from design to code
23:17
Kevin Powell
Рет қаралды 68 М.
Are you using the right CSS units?
6:30
Kevin Powell
Рет қаралды 436 М.
SMART GADGET FOR COOL PARENTS ☔️
00:30
123 GO! HOUSE
Рет қаралды 21 МЛН