A practical guide to responsive web design

  Рет қаралды 202,295

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 177
@myartikool
@myartikool 7 ай бұрын
I think this part of making websites is pretty easy and was quite intuitive for me. The difficulty starts when you need to preemptively think how everything would behave on different screen sizes before you even start doing CSS. This is probably gonna get easier only after lots of practice but so far I'm still straggling with it. Especially when pixel perfect is needed.
@benfrese3573
@benfrese3573 7 ай бұрын
Yeah, and the graphical design aspect has become a lot more complex as well. Design *has* to work now, and a lot of my challenges in day to day work are from finding layout and interface solutions.
@ImperiumLibertas
@ImperiumLibertas 7 ай бұрын
One strategy to help alleviate some of the challenging parts is to develop for a mobile device first as there are more constraints for mobile views. Reverse engineering the desktop screens from the mobile views is typically easier.
@myartikool
@myartikool 7 ай бұрын
@@ImperiumLibertas I've noticed that even when I do desktop-first I still end up refactoring media queries as if it was mobile first. It's just where I'm from desktop-first is the default approach.
@skillsvsdegree6139
@skillsvsdegree6139 7 ай бұрын
You achieved your goal. I am new to frontend, only 2 months old, like I'm a baby. This video made me feel like CSS is a toy, not a boogeyman. I need CSS for my dream project I started to develop, and thanks to you to make me feel better with CSS. Hope most of the videos are like this, simple, straight to the point. subscribing.
@sentionmusic
@sentionmusic 7 ай бұрын
I have seen so many dev videos and never know what they are talking about because they don't know how to explain things. THIS IS THE FIRST CHANNEL I CAN UNDERSTAND AND LOVE. thank you
@l-fitness3590
@l-fitness3590 2 ай бұрын
Best place to learn stuff is honestly is Udemy when they have deal on pick up courses on topics that your interested in
@artibaraku4070
@artibaraku4070 7 ай бұрын
I wanted this video for a long time, but you made it as if you knew what we were missing. Thank you Kevin.
@jmun9561
@jmun9561 5 ай бұрын
I'm very new to basic coding, I would just like to say that while I'm doing this off my own back with no one teaching me. Watching and listening to your videos really helps. It's brilliant. Thank you for your time and sharing you knowledge.
@JimKernix
@JimKernix 7 ай бұрын
Your free "Conquering Responsive Layouts" course mage responsive design super easy for me. I don't even have a problem with that since taking that course a few years ago.
@KevinPowell
@KevinPowell 7 ай бұрын
So glad to hear that!
@kevbonett
@kevbonett 7 ай бұрын
Some really great (and simple) advice. Mainly around not declaring stuff until you need to, and letting the browser do what it does best!
@Mynamewashere
@Mynamewashere 3 ай бұрын
This video is solving my PTSD from trying to figure out responsive design while trying to finish my school project at the last minute. It's almost like you can see inside my head. Thank you.
@DanteMishima
@DanteMishima 7 ай бұрын
"It is us who break the responsiveness of the web" - Kevin Powell, Conquering Responsive Layouts
@GhostWithAHoodie
@GhostWithAHoodie 7 ай бұрын
I just wanted to thank u mr Powell, i started to learn web development, and your content is amazing it helped me a lot.
@cseymour97
@cseymour97 7 ай бұрын
Viewport units are great. I love using them within a clamp on all my text sizes to make them fluid! Has worked well over the years!
@ilogbc3090
@ilogbc3090 6 ай бұрын
How do you do that? At the root?
@cseymour97
@cseymour97 6 ай бұрын
@@ilogbc3090 just when I'm defining text sizes. For example h1 could be something like h1{font-size: clamp(1.25rem, 2vw + 1rem, 2rem);} Doing that will define your min and max text sizes and then anything in between will be relative to the screen size.
@juwhankim6187
@juwhankim6187 5 ай бұрын
I simply love the tone and accent of the voice. Again, I realize how much important tonal impression is, not only the content when it comes down to educational stuff.
@Nawrotlearnscoding
@Nawrotlearnscoding 7 ай бұрын
Your take on media queries is a game-changer for me. From now on, I will try to use them more sparingly to avoid overcomplicating things. Thanks a lot, Kevin!
@_koh92_
@_koh92_ 7 ай бұрын
Hello, Kevin! I want to thank you for all your job (videos, tutorials, newsletters etc.)! The last letter you’ve showed statictic of your KZbin channel, where mentioned Poland and his love of CSS. I’m your fan from Russia and I love CSS too! Could you tell about Russian # in your channel statistic? 🙂 Your content helps me: 1. Learn English 2. Level up my CSS skills 3. Teach my Frontend’s collegues of new CSS features! Keep up the good work! 👍
@KevinPowell
@KevinPowell 7 ай бұрын
Glad that you're enjoying my content! In the last year, Russia is #13 :)
@D7460N
@D7460N 7 ай бұрын
Well said, sir. HTML is responsive by default. It's not CSS' fault that things are not responsive. It's our fault for writing CSS or using a lib or framework that cause things NOT to be responsive. Set width/height as a last resort for intrinsic design. Less is more.
@suziewilliams3194
@suziewilliams3194 3 ай бұрын
I came across your channel recently. I must admit, your videos, knowledge and teaching skills are over the top. You know your advanced css, you teach what's needed. You don't teach unnecessary styling just for creating a video sake. Keep doing what you're doing. Can you please create a guide or topics list for us to learn advanced CSS better please
@jcchaconjr
@jcchaconjr 4 ай бұрын
This video was so insightful! I’ve only recently started doing some web coding for the first time in about 20 years (the bulk of my career has been working on native Windows apps). As I’m currently unemployed following a layoff, I’m in an HTML/CAS/JavaScript course as part of a larger curriculum, and the responsive design was killing me this week! As it is, I was able to get a better understanding of how all the flex options work, which allowed me to “stop fighting” the browser as you suggest, eliminating about 40 lines of CSS code in the process. My pages now behave, but your sections on grid design and the side bar might allow me to streamline my code even more. I only recently discovered your channel Kevin - thank you for the great content!
@weshen83
@weshen83 2 ай бұрын
It's really a great channel. I'm in a bit similar situation as you. I started recently with The Odin Project. For me it's the best course to learn web development. Over the last years I dabbled with other courses, but always stopped because of life stuff and not easy to grasp things if not enough time is spent. So, if you stopped because of same reasons. Search for the Odin Project and see for yourself. It's totally free and in my opinion the best way to learn
@marcosferreira-dk6nw
@marcosferreira-dk6nw 3 ай бұрын
I've just started your course on responsive layouts. Thanks for sharing your knowledge freely.
@denoww9261
@denoww9261 7 ай бұрын
Great video! I'd love to see one about the differences in how you'd approach CSS for single-page webapps - for example, often they need to fill the full viewport height exactly, which is very different to how traditional websites work. Appreciate the content!
@darz_k.
@darz_k. 2 күн бұрын
This is a great approach. I've watched this video a few times now, and have learned a lot about how to think about and approach a responsive layout. Towards the end, the example for the media query, and using a min width; I suppose this props up the benefits of a mobile first approach to development?
@everythingold-school.2512
@everythingold-school.2512 7 ай бұрын
When he said "Don't write CSS that you do not need" my mind was like, "You're busted boy!". Thank you, Kevin. The video helped me so much.
@meowthemmd
@meowthemmd 7 ай бұрын
CSS just ends in Mr. Powell's channel we don't need anyone else teaching CSS; fascinating, THANKS.
@nathanm2891
@nathanm2891 5 ай бұрын
I love your videos. I remember you talking about adding complexity as the screen grow a while back. It really changed my view on styling layouts.
@zealest
@zealest 7 ай бұрын
crazy how you came in clutch with this guide
@jensholm2586
@jensholm2586 4 ай бұрын
great video! very thankful for theese tips as a newbie to css. Lol i came here cause i built my website after my dekstop screen and set al width and heights to pixels and then when i went on my phone it all became crazy, now ill rebuild and do it right!
@Tiger__Man
@Tiger__Man 7 ай бұрын
I used to follow avoid using fixed width and height and it worked perfectly
@MyDpop
@MyDpop 7 ай бұрын
YESS! everything you do is to help us *fall in 💘 love* with CSS and be *a little bit less frustrated* by it! Thank you Kevin
@webdevgaur
@webdevgaur 7 ай бұрын
I love your content Kevin! I derive so much value from your videos. Just today I watched your video on css position property and it helped me solve a problem at work which was causing a big pain. Thank you brother man!
@dimkayilrit2606
@dimkayilrit2606 7 ай бұрын
Miss this for so Long 😎😎, this was what made me love this channel some years back
@zh1094
@zh1094 6 ай бұрын
great video, i love this. I am not a frontend dev but seeing that some things related to responsiveness can be just done simply.
@apradaglez
@apradaglez 7 ай бұрын
That’s a pity that I couldn’t understand all that you explain. I follow you and always learn something. Thanks master
@henrythomas7112
@henrythomas7112 6 ай бұрын
Thanks for the new video! I’m looking forward to seeing what other content you post! Always good to learn as much as you can!
@HBCGAMING
@HBCGAMING 6 ай бұрын
I am doing all wrong stuffs as mentioned in above video fixed size layouts always which carry me overflow problem of elements Now i avoid those problems. ❤
@umamiimamu
@umamiimamu 7 ай бұрын
Thank you Kevin, I learned a lot in one video and u always have so much cool stuff to learn. Big respect for what u doing for the community now 💕💕
@shamilrasheed6427
@shamilrasheed6427 6 ай бұрын
Your way of teaching is very nice. Really enjoyed and learnt something.
@andersonlontsi299
@andersonlontsi299 7 ай бұрын
Wow this is so well explained it's like I'm discovering the whole stuff again😅 Thank you sir 🙏
@rohanphaff2640
@rohanphaff2640 3 күн бұрын
@icarodlima
@icarodlima 4 ай бұрын
Every time I decided to quit the video because I had “learned enough” I saw something mind-blowing and ended up watching until the end
@snakehound7678
@snakehound7678 3 ай бұрын
Thank you very much for this video. Finally I found explanations that help me in my first project :)
@tonybowen455
@tonybowen455 7 ай бұрын
I just got done fighting a grid layout with media queries. Literally everything you talked about in this video I've been doing wrong for years.
@Hamz-aa
@Hamz-aa 7 ай бұрын
A very thorough explanation of responsiveness. Really appreciate ❤
@danielekpenyong5930
@danielekpenyong5930 3 ай бұрын
Great video and awesome lesson Kevin thanks for the detail you used in the video
@nathanmiddleton1478
@nathanmiddleton1478 7 ай бұрын
You always have such beautiful cleanroom examples, thank you for that. There used to be a time it was easier to go open up the source of a site and maybe learn a thing or two, but anymore it seems like everything is hidden behind javscript code. Recently I visited a site and everything was generated by Javascript; the CSS, the HTML, EVERYTHING! I really feel like this is a step backwards. Like you lament in this video about keeping it simple. Whatever did happen to the KISS rule?
@ColinMacrae-d2o
@ColinMacrae-d2o 2 ай бұрын
I think technically this video is about responsive web css, not design. I was hoping to find something that would give good design tips on taking a desktop site and making it responsive, and how to do that the best, in terms of designing it. The building it part (css) is the easy part for me! Anyway, good content all-around, so thanks for that Kevin!
@ishowspeed7191
@ishowspeed7191 7 ай бұрын
Thank For this video sir i am looking this video for soo many days and this is the best video i got today
@TOONSSTATION
@TOONSSTATION 6 ай бұрын
Thanks. I'm stuck with responsiveness hope this will help
@danielhalasz-szabo5143
@danielhalasz-szabo5143 7 ай бұрын
Thx. I bookmarked this video as an everlasting reminder.
@borisgomiunik7960
@borisgomiunik7960 5 ай бұрын
Thank you. You're explaining it better than the ones that made it :)
@TrxsTer
@TrxsTer 7 ай бұрын
Damn just when I was having hard time with responsiveness, you posted a video on it, amazing 🤩 and thanks haha
@oat1000
@oat1000 7 ай бұрын
Could you make a video about the background when playing videos on youtube? It's a super cool tri-axis blur effect (x, y, time). It not only is a gaussian blur, but also blends into the future frames of the video.
@yisuslalala
@yisuslalala 7 ай бұрын
you're the best Kevin, thank you so much!
@huncyrus
@huncyrus 7 ай бұрын
Would be interesting to see Kevin talking about responsive design with auto-sizing font size where it scale up when u watch on 50"' and 4k (readable and ain't stuck on 14 font size) and also good on phone. If anyone know any good article or video about it, would be nice to share with me.
@AndyMorrisArt
@AndyMorrisArt Ай бұрын
I gave up! But I'll bookmark this and maybe try again. I broke down and just built a mobile version that I'll put in a sub-domain and then with a media querie do a redirect. Not Ideal I know but for my purposes it will suffice. I think if i had started with a Mobile designed website then it might've been easier to get it to expand into multiple columns but starting with a 12 column grid I just couldn't get the images to cooperate. After trying for 12 hrs. straight I gave up.
@arturmoreira9716
@arturmoreira9716 5 ай бұрын
Amazing video brother. Thanks!!!
@web_alchemist_
@web_alchemist_ 7 ай бұрын
Loving grids the more I learn about it ⚡
@hossamayman3587
@hossamayman3587 7 ай бұрын
Just the right content at the right time love it
@dev-suresh
@dev-suresh 6 ай бұрын
Thank you for making CSS easy for me :)
@Wadih-bc
@Wadih-bc 5 ай бұрын
Very much appreciated! Thanks.
@solo-yl8uc
@solo-yl8uc 5 ай бұрын
Thank you so much, it's so helpful.
@Smile__007
@Smile__007 5 ай бұрын
Thanks for this ❤
@lenerignacio
@lenerignacio 6 ай бұрын
Hi Kevin, thank you for all the knowledge you share across the videos and explanations. Recently, I've been seeing a "new type of responsive" known as fluid web design. Do you know about it? Is it different from the responsive? Or what should be some good concepts to have in mind for a fluid web?
@ArtyomStouch
@ArtyomStouch 7 ай бұрын
Thanks mr.Kevin, need more repeat .
@outpost31737
@outpost31737 7 ай бұрын
Less is most certainly more and I no longer use position absolute for complex overlapping layouts, there are better alternatives out there in the CSS universe! :)
@chaze2k3
@chaze2k3 6 ай бұрын
7:59 : "Now, Let's say i was doing this guy" 💀😂
@ratstrat1984
@ratstrat1984 6 ай бұрын
This is me in a nutshell. I start declaring and just declare myself right into a headache. Then I dump my CSS and start all over.
@mrd.j.2303
@mrd.j.2303 4 ай бұрын
Great video! Sidenote, can you please tell me how you make your video shift to the bottom of the screen so smoothly whenever it’s in the way?
@james_horan
@james_horan 3 ай бұрын
Thank you!
@vanessastefanova
@vanessastefanova 7 ай бұрын
The timing of this video makes me believe in simulation theory.
@samit4me
@samit4me 7 ай бұрын
This is so good, fantastic video, thank you so much for this 🙌 Sorry, I feel bad for asking, what font/theme are you using in vscode? Looks super clean ✨, especially liking the syntax highlighting colors
@josephbolton8092
@josephbolton8092 2 ай бұрын
This video was a eureka moment for me
@tetsuorulin9009
@tetsuorulin9009 7 ай бұрын
beautiful video, thanks my G
@chrisicotec7652
@chrisicotec7652 7 ай бұрын
i always recommend avoiding heights unless its essential to the element, just using padding... anyone else open codepen or their ide and follow along with these tutorials? and seeing what you can do
@remox8894
@remox8894 7 ай бұрын
Just thank you Kevin.
@mahadevovnl
@mahadevovnl 7 ай бұрын
A completely separate question: In CSS, we can set: `color-scheme: light dark;` And that's fine, we can use media queries to detect a system preference: `@media (prefers-color-scheme: light) {}` But does CSS also allow the user to override the system preference? Right now I'm doing that with JavaScript and it feels so clunky. I sometimes wonder if we need a new browser API, something like `UserPreferences` to set, reset, and update certain user preferences that would override certain media queries.
@hiddensinger2630
@hiddensinger2630 7 ай бұрын
Very helpful video Kevin
@RuckusIT
@RuckusIT Ай бұрын
This shits are fkn FANTASTIC dude!!!
@edsHTML
@edsHTML 7 ай бұрын
Thanks! This video is very helpful😀😀
@D7460N
@D7460N 7 ай бұрын
Thanks again for this timesheet video. Keep up the great work! What are your thoughts on leveraging custom HTML elements, vice DIVs and classes, as a way to convey intuitive syntax with (usually) less code? I have found that it enhances fellow developers' experience (DX).
@luciferevil9o908
@luciferevil9o908 7 ай бұрын
It's very helpful thank you ❤
@xreed8
@xreed8 7 ай бұрын
Could you do a vid on improving performance? I built my second personal portfolio website but it for some reason loads a little slower than your normal website, making it look a little less professional than it should be
@elijandev
@elijandev 5 ай бұрын
Vous êtes génial
@hassansyed6087
@hassansyed6087 6 ай бұрын
I'm definitely struggling with the responsive aspect of website creation. Like everything needs it's own dedicated space and then it needs to look uniform and if one div shifts over, the text is all over the place. It's a mess. Any idea on how to use Grid and Flexbox preemptively so that we don't counter such problems when we get to the media query section?
@not_amanullah
@not_amanullah 6 ай бұрын
Thanks ❤
@anton9410
@anton9410 7 ай бұрын
Thank you for the video! I noticed in tailwind we need to understand where the break points are, but this css only approach makes things much easier. Kevin, do you ever use tailwind or 3rd parties for css?
@chukwubuikemonwuchuruba815
@chukwubuikemonwuchuruba815 6 ай бұрын
Thank you very much!
@kraigochieng6395
@kraigochieng6395 5 ай бұрын
thanks so much
@caspgin
@caspgin 7 ай бұрын
Do you have a css and animation series that goes from scratch to smoke?
@salamAlshingali
@salamAlshingali 5 ай бұрын
Very cool and very helpful
@DaBigin
@DaBigin 7 ай бұрын
Ever look into Penpot? I'd love to see you do a video of your thoughts about it.
@TurpoChargedGaming
@TurpoChargedGaming 7 ай бұрын
I agree VH/VW are iffy. But with the rise of container queries, would you use CQB/CQI or still no?
@taunado
@taunado 5 ай бұрын
A diamond in the rough,
@josegamarra3532
@josegamarra3532 7 ай бұрын
Didn't know about the grid autofit, it feels like black magic
@medandcare
@medandcare 10 күн бұрын
If I wanted to do this for just text h1 text, how would I do that? Cause I'm not new to HTML, but I'm far from a pro. And this responsive website stuff is new to me all together. I kinda a concept from this video, but I'm no sure how I'd impliment this in my h1 tag...
@Christoph_YouTube_Acc
@Christoph_YouTube_Acc 5 ай бұрын
Like this approach, but on your products, when one drops to the line below (minmax 250px, 1fr lesson) and it doesn't have a partner to share the space with, it moves to the left of the screen and has space to the side. Any way to fix this and centre it?
@franciscosilva2135
@franciscosilva2135 5 ай бұрын
Im strugling with font sizes and how to make it responsive since the design i chose didnt have a smaller screen size
@hr....d5241
@hr....d5241 4 күн бұрын
Hey mr. Powell recently I was trying to make my newly created website responsive. The major problem I came across was the website is scrollable horizontally which was unexpected. I also tried overflow-x: hidden; but it didn't work! Can you help me with this?
@seanplynch
@seanplynch 7 ай бұрын
Fantastic video
@toma1610
@toma1610 3 ай бұрын
In the CSS, it read from top to bottom, right? So, if I declare something at the top, without specifying a media query, these declarations will affect to the desktop view for default, right? This confusses me because I thought all was mobile first, so what is on the top would affect to the mobile view, then at the bottom I should add the media queries to changes widths, columns, rows, etc. I use bootstrap
@krystofsevcik8569
@krystofsevcik8569 7 ай бұрын
Great video 💯
@MatttKelly
@MatttKelly 3 ай бұрын
Would you say it's important to create components and designs that allow themselves to be scaled better? Instead of trying to fight it to look just the way you want it, design it so that when it scales, it has "space" to do what it needs to do? I'm not sure how to ask that a better way, lol
Learn how to use Media queries & Container queries
34:33
Kevin Powell
Рет қаралды 68 М.
5 simple tips to making responsive layouts the easy way
15:54
Kevin Powell
Рет қаралды 764 М.
What does Satoru Gojo have? #cosplay#joker#Harley Quinn
00:10
佐助与鸣人
Рет қаралды 7 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 19 МЛН
Easily Improve Your Web Design (With Example)
17:59
Flux Academy
Рет қаралды 82 М.
2 better alternatives to overflow: hidden
11:04
Kevin Powell
Рет қаралды 156 М.
Front-end web development is changing, quickly
3:43
Fireship
Рет қаралды 881 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 153 М.
6 UI Hacks I Wish I Knew As A Beginner
11:11
Tim Gabe
Рет қаралды 798 М.
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 505 М.
3 modern CSS techniques for responsive design
14:32
Kevin Powell
Рет қаралды 214 М.
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Coding2GO
Рет қаралды 88 М.
Master Media Queries And Responsive CSS Web Design Like a Chameleon!
9:44
Slaying The Dragon
Рет қаралды 339 М.
Create Crazy 3D Image Slider Effects Using CSS Only
14:07
Lun Dev
Рет қаралды 323 М.