Тёмный

Top 10 Advanced CSS Responsive Design Concepts You Should Know 

Web Dev Simplified
Подписаться 1,6 млн
Просмотров 493 тыс.
50% 1

Responsive design in CSS is difficult to do well, especially if you only ever use media queries. In this video I share my top 10 responsive design tips that go beyond just using simple media queries.
📚 Materials/References:
PostCSS Video: • Learn PostCSS In 15 Mi...
CSS Grid Video: • Learn CSS Grid in 20 M...
Viewport Units Video: • Learn Every CSS Viewpo...
Viewport Units Article: blog.webdevsimplified.com/202...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:39 - Viewport Meta Tag
02:06 - Media Query Orientation
03:15 - Media Query Aspect Ratios
04:00 - Media Query Ranges
05:25 - Container Queries
09:27 - Custom Media Queries
11:09 - Different HTML
12:20 - CSS Grid
16:15 - Clamp
18:00 - Viewport Units
#ResponsiveDesign #WDS #CSS

Опубликовано:

 

20 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 211   
@terencecluttey8302
@terencecluttey8302 Год назад
i'm been coding web for about 14 years. But i keep watching videos like this because you never know what you might learn... your font size clamp() is an amazing tip, thank you very much
@indiancuriousvoice8773
@indiancuriousvoice8773 5 месяцев назад
What is your package as web developer. Can i know..?
@yigitgnc
@yigitgnc 4 месяца назад
same, there is always a new trick to learn
@terencecluttey8302
@terencecluttey8302 4 месяца назад
@@indiancuriousvoice8773 I started on Dreamweaver so I got used to it
@texxs01
@texxs01 Год назад
I started building websites in 1995. We had HTML 1. CSS didn't exist yet etc. I was one of the pioneers of what is now called "responsive web design" in the CSS 2 era. We called it "Fluid Design" and we used tables and parts of tables etc with sizes in percentages of screen width, and some used tons of "simple" (if you called 30000 characters of javascript to detect a screen size simple). to detect screensizes and re-sized elements in the DOM and/or serve different layouts to different devices. Thank goodness it's not like that still. But it was cool being able to do what "couldn't" be done.
@homevids
@homevids Год назад
Same as you. Started in 1995 and used Tables and tables in tables plus s. The advent of mobile devices destroyed pure website design. Desktops are different from mobile screens so we now have to jump through hoops to get something which is barely okay but not outstanding. Before mobile I could make a page be whatever with little effort and I enjoyed the process making literally many thousands of webpages in few years.
@texxs01
@texxs01 Год назад
@@homevids Personally I think the biggest negative influence on the design side of web design is google.
@homevids
@homevids Год назад
@@texxs01 Absolutely 100%
@WyzrdCat
@WyzrdCat Год назад
I started somewhere around 2002. CSS was a thing. I loved development back then, and loved it into 2015 or so while responsive took over. Then came the dark era of javascript frameworks and intentionally making everything more difficult for job security. What a horrible phase we went through. Thank god things are moving back to sanity.
@texxs01
@texxs01 Год назад
@@WyzrdCat I hear you! Like compiled Javascript. Like javascript (react, vue, etc) wasn't complicated enough. And most of the time there's just no benefit to using it unless your project is huge.
@carlosginer2623
@carlosginer2623 Год назад
Happy new year to yall developers out there
@sahilaggarwal2004
@sahilaggarwal2004 Год назад
#dontdeployanythingtoday
@carlosginer2623
@carlosginer2623 Год назад
@@sahilaggarwal2004 😂
@NikhilSharma-rz9jy
@NikhilSharma-rz9jy Год назад
Make videos #react native
@user-kw9cu
@user-kw9cu Год назад
DEVELOP DEVELOP DEVELOP
@jonaskromwell4464
@jonaskromwell4464 Год назад
What's yall? Is it Ecma based?
@carmonverrall3315
@carmonverrall3315 Год назад
You are frikken brilliant! Everything is always overly complicated when its actually straight forward. Thank you!!
@dollabill898
@dollabill898 Год назад
Thanks for helping me change my life. I watch your videos every day and I wouldn't be anywhere near where I'm at right now, as basic as that is, if it wasn't for you. Happy New year and best wishes
@creativemask1284
@creativemask1284 Год назад
grabe, ibang klase ka tlaga mag explain kyle.. magaling ka talaga.. maraming salamat
@wab123ism
@wab123ism Год назад
Happy new year, Kyle! Excited to see what 2023 has for us! ❤
@jimb1899
@jimb1899 Год назад
Great video, thanks for this! I've been battling mentally what is the best approach to mobile responsiveness - seems you answered my questions!
@karlybyrd1551
@karlybyrd1551 11 месяцев назад
Thank you for including the bit about the meta tag, nobody else seems to mention that and it wasn't working for me until I put that in !!
@Al_Gonzo
@Al_Gonzo Год назад
More of these videos about responsiveness! This is my weakest point.
@FdWebdesign
@FdWebdesign Год назад
@mohamedsalimbensalem6118
@mohamedsalimbensalem6118 Год назад
@@FdWebdesign bruh
@bndissanayaka
@bndissanayaka Год назад
This is great. I found this just on-time when I was asked to convert the web site I'm working on to mobile friendly. Thank you. 🙂🙂
@nadeemakramansari1331
@nadeemakramansari1331 8 месяцев назад
Every video of yours is on another level. hats off to you bro..
@johanneskingma
@johanneskingma Год назад
As always a great video with tons of new(er) stuff. BTW is there a reason you don't use and tags in the container section?
@codechick5257
@codechick5257 Год назад
Your content is teaching me a lot, on point and well done. I do want to mention that although you later added a note to correct the "siderbar" typo, your tutorial was displaying the red and purple boxes incorrectly. I wrestled with this and could not figure it out until I walked away and later it came to me that your display wasn't matching mine because I didn't have the "siderbar" typo. Without the "siderbar" typo, only the red box displays over 600px because it is in a separate div on the html page. Thanks...; )
@AccessCode101
@AccessCode101 Год назад
Gold content, as always, especially that grid part.
@m-create
@m-create 9 месяцев назад
Really awesome approach. I will use it when the support is there for it!
@LuciferHesperus
@LuciferHesperus Год назад
Very helpful. Clear presentation style. Simplifying the complex. Good job.
@praveenellaiyan
@praveenellaiyan Год назад
Another good concept and great explanation. One topic we're interested in is on designing flexible layout which works with ads and content.
@kirksurber7262
@kirksurber7262 Год назад
Loved the grid and the font-size clamp()! This just saved me a lot of time.
@TomasMisura
@TomasMisura Год назад
thanks a lot for this very useful video, it's absolutely incredible how CSS has been changing...
@salmanpatrick
@salmanpatrick Год назад
I think this CSS Grid concept is more stable and better than flex wrap cuz it adjusts the element size as well besides the number of items per row. Amazing.
@vugarbakhshalizade2826
@vugarbakhshalizade2826 Год назад
Agreed! Grid is more stable and predictable than flexwrap. It's just really easy to get into trouble with flexwrap.
@clevermissfox
@clevermissfox 6 месяцев назад
And great to customize the cell to be the width and height you want that cells’ contents to be. And grid is animatable! I’m still struggling a bit with learning grid but I’m definitely coveting all its features and will master it one day!
@rotteneffekt4416
@rotteneffekt4416 11 месяцев назад
Thanks for the vid. When writing stylesheets SASS is still king when it comes to simplifying css. @container is something I've prayed for for years.
@RamBabu-di1fn
@RamBabu-di1fn Год назад
Love ur content, brother from 🇮🇳. Your videos are really helpful in becoming a full stack web developer.
@Linuxdirk
@Linuxdirk Год назад
Just found this video. The grid is exactly what I needed! 👍
@curry2515
@curry2515 Год назад
Thx for your videos bro really helpful
@jana171
@jana171 Месяц назад
This chan has become my favorite waterhole for the daily brushup on CSS and HTML, super cool !
@henrythomas7112
@henrythomas7112 9 месяцев назад
Thank you for the video!!! We learn a lot with you! Thank you!
@chronometer9931
@chronometer9931 Год назад
Incredible work
@muhammadabdullah8214
@muhammadabdullah8214 10 месяцев назад
I LOVE YOUR WAY OF EXPLANATION
@sdfsfsfd437
@sdfsfsfd437 Год назад
Muchas gracias. Qué buenos conceptos. Many thanks. 💯👍
@MrVipulLal
@MrVipulLal 8 месяцев назад
All your videos are so nice
@ronpontero3707
@ronpontero3707 Год назад
Omg I am first one viewer it seems 😎😎😀. This is great channel which I followed recently . A worthy channel to subscribe with great content. Love from India🇮🇳🇮🇳🇮🇳
@ia7mdi
@ia7mdi Год назад
I used the media method, but after I tried the viewport, it was much better and saved a lot of effort
@kienboy9999
@kienboy9999 Год назад
Hi Kyle, just in case you are finding a topic for your next videos, please talk about product filter (and filter by multiple categories including price, brand, time) using javascript
@FdWebdesign
@FdWebdesign Год назад
@codehal
@codehal Год назад
Love your content bro ❤❤
@sayistayazdani9347
@sayistayazdani9347 Год назад
1st time I watch your video Now I am happy to see your content your content was amazing & very useful Thank you so much
@fase8729
@fase8729 Месяц назад
Thx a lot u have been contributing many things into front end development.
@timbersax
@timbersax Год назад
Thank you!!! Just Amazing and so helpful!!!!
@pauloffborba
@pauloffborba Год назад
Excellent content 🙏🏻❤️ Thanks!
@titusayyasamy3035
@titusayyasamy3035 2 месяца назад
this information about responsive css kind of advanced. thank you for sharing this valuable info🙂
@shahabdev2520
@shahabdev2520 Год назад
Thanks, bro. Some real problem solutions from this video
@calebowatah5775
@calebowatah5775 Год назад
Thank You Happy New Year
@JanneWolterbeek
@JanneWolterbeek Год назад
Very useful, so I subbed! Thanks!
@amarhoussien5747
@amarhoussien5747 Год назад
You are really awesome man , keep going
@cmark123
@cmark123 Год назад
Wow. I wish, you could write an in depth book about this. That would definitely be the Responsive Design Bible for at least a decade.
@deatho0ne587
@deatho0ne587 Год назад
Thanks to things like grid, flex, and clamp there is barely a reason to touch media queries outside of things like dark/light mode and the like. There are still uses when you have to make something pixel perfect (equals seems nice for pixel perfect) or to change a grid system based on current width. PS: If you have to make something pixel-perfect, it is not worth anyone's time due to it just adds extra development time that is not needed.
Год назад
Just tried working with dvh on a project, and alas, Safari on iPhone XS does not like it. But this was an immensely informative video, thank you!
@vaibhavjadhav3791
@vaibhavjadhav3791 Год назад
Thank you.. i will helps me alot... Thanks 🙏
@codelivewithme
@codelivewithme Год назад
im learning and wating for some good resource to solidify my knowledge about responsive design and then I got this video wow
@hichamamroussi9087
@hichamamroussi9087 Год назад
I didn't know about auto-fill, Thanks!
@ciandrapancho8716
@ciandrapancho8716 7 месяцев назад
First 2 mins. and you helped me solved my problem already.
@codewithguillaume
@codewithguillaume Год назад
I created a 4 hour course on Tailwindcss on my channel - I have to admit that to know CSS is not that easy and even after years of coding! CSS is so wide. Thanks for this video!
@WyzrdCat
@WyzrdCat Год назад
I wish I could have some AI that would just completely delete the content of absolutely everything that ever mentions Tailwind so I never have to see or think about that abomination
@VozimoSe
@VozimoSe Год назад
Great content, as always. I'd just like to point out that having a different (simplified) html for a mobile device shall not be recommended ever. It's due to accessibility. All the content should be available regardless on the device type of it's properties. We should not think on terms of desktop and smartphone. The smartphone view is sometimes just highly zoomed site, or split screen view. You don't want users to lose the content on those cases. This is actually in WCAG
@The-Great-Brindian
@The-Great-Brindian Год назад
I'm intrigued and fascinated by your school of thought. Why? Because I am constantly saying the opposite to what you said above. I believe the contrary. That you MUST factor in the device and its screen size constraints. Its common sense that the user-experience and online-shopping experience you get on beautifully designed fashion eCommerce webstore website that you view on that huge 27 inch 16:9 ratio monitor, will not be replicated on a tiny little screen. That is simply impossible. Bigger canvas to play around with, so you can show more of the dom on a screen as opposed to on a tiny screen. This is one of the core reasons for responsive design - you have to 'optimise' a web layout for the particular device as to ensure the user experience is still great and the user end goals are still achieved with considerable ease. I could go into more detail but I won't. I will say that web layouts and web software UI's will naturally need to be scaled/watered down in terms of detail when it comes to devices with smaller screen sizes.
@EvilTim1911
@EvilTim1911 7 месяцев назад
​@@The-Great-Brindian This is the difference between responsive and adaptive design. Responsive design should be strived for - that is, having the same DOM elements on both views and making them act differently on different screen sizes as opposed to adaptive design which would mean having two completely separated layouts and conditionally showing/hiding them based on screen size. The latter is bad because when a change is requested it means updating two layouts rather than one which is why responsive is the preferred approach. However, I've had many situations where certain elements are desktop or mobile only. I think it's fine as long as you're not replicating large portions of your UI to have a mobile and desktop specific markup.
@jaejonmalloy1341
@jaejonmalloy1341 Год назад
Is that a Jackson Dinky back there? I like your style; one of the most prolific metal strats, juxtaposition to a family throw pillow. 🤘
@alejandroperalta4294
@alejandroperalta4294 Год назад
Super helpful!
@simonbolzdotcom
@simonbolzdotcom Год назад
You are so fast, I am amazed! Thumbs up.
@Helen-99
@Helen-99 6 месяцев назад
Great insights!
@AntaroopChakraborty
@AntaroopChakraborty 3 месяца назад
Thank you so much🎉
@jatinkukreja18
@jatinkukreja18 Год назад
I’m always blown by your videos
@gilsonconceicao5201
@gilsonconceicao5201 Год назад
Thanks for share!
@mobilepiano8018
@mobilepiano8018 Год назад
Really it was something new for me as jr. Front-end developer.. thank you 😊 please explain clamp() in depth specially for font size if its possible.
@lukas.webdev
@lukas.webdev Год назад
Just yesterday I posted a video about the Top 10 CSS Features you should know and use in 2023 and clamp() is also a part of it... I explained it a little bit more in detail => maybe this will help you ... 😉
@niravparmar7856
@niravparmar7856 7 месяцев назад
is it landscape or portrait if the width is same as height?
@Gigasit07
@Gigasit07 Год назад
4:52 man i wish programming languages had this conditional statement feature, it would be pretty useful Thanks for the quality content by the way :)
@EvilTim1911
@EvilTim1911 7 месяцев назад
I remember when I first started learning programming I intuitively thought that something like that should work and tried using it and got confused. It actually won't throw errors (at least in JS and Python) but if you do something like 3 > 2 > 1 what happens is that 3 > 2 evaluates to true and then you get true > 1 which coerces the true into a 1 so you end up with 1 > 1 and the whole expression evaluates to false. Just throwing this out there in case anyone else gets curious. I think this is an inherent limitation in how basically all languages are implemented and so operators like AND and OR are required.
@AbdulBasit-hk8my
@AbdulBasit-hk8my Год назад
nice explanation..👍
@alanouri9965
@alanouri9965 Год назад
Thanks for the informations
@rabbitfactory6940
@rabbitfactory6940 2 месяца назад
what browser are you using. your customizable width controls are very nice how can i get those?
@crisvonhansensmith9903
@crisvonhansensmith9903 Год назад
Great explanation as always! Btw, I have a question. Why would we repeat condition, as mentioned, inside Custom Media chapter?
@user-yo5oz5td6h
@user-yo5oz5td6h 6 месяцев назад
Thanks❤
@nayemalifahim6701
@nayemalifahim6701 11 дней назад
best explanation
@Sara-rs4oq
@Sara-rs4oq Год назад
Happy new year!
@makingtheweb6620
@makingtheweb6620 Год назад
I can't get @container query working in VS. such as Firefox or Chrome testing environment. Kevin showed a similar video using container Queries.
@izuodoh2909
@izuodoh2909 Год назад
Great Video!. Please do I need a viewport for react, If yes how do I do it? I am a beginner and my web-page is responsive on my desktop chrome browser but not on different mobile screens when I inspect the page. Thank you.
@harold6050
@harold6050 5 месяцев назад
You are the best!
@heckyes
@heckyes 11 месяцев назад
This dude is a champ.
@imanardiansyah2621
@imanardiansyah2621 Год назад
Happy new year
@simpy2965
@simpy2965 Год назад
Please make a course on responsiveness 😭
@Bjorn808
@Bjorn808 4 месяца назад
How do you get the screen size numbers in the top of your website preview? It looks so practical
@MrW0rDs
@MrW0rDs Год назад
Can the @custom-media be defined outside of the css file but still apply to it? Juste like css variables.
@santoshgyawali9319
@santoshgyawali9319 Год назад
Happy new year 💚🇳🇵
@yokubibnsafar7895
@yokubibnsafar7895 Год назад
Assalomu aleikum. usefull video. thank u bro. subscribed :)
@daebaksdailylife3933
@daebaksdailylife3933 Год назад
HOLLY COW!!!😳😳😳😳 This video opened my eyes wide which were like buttonholes!!
@researchandanalysisschool6838
Happy new year 🎉
@ClickbaiterZ
@ClickbaiterZ Год назад
When does media query range added? Also, where can I see updates about CSS?
@chanmyaemaung
@chanmyaemaung Год назад
Thanks
@a4cfee
@a4cfee 11 месяцев назад
Great vid
@BMikel
@BMikel Год назад
It's a real eyeopener
@melodium10
@melodium10 Год назад
Brave is as same as chrome (expect that it blocks ads in youtube) right? so if Chrome gets support Brave too will do right?
@YEETlCUS
@YEETlCUS 6 месяцев назад
Bro how are your videos this good
@jeremiahdonkoh3759
@jeremiahdonkoh3759 2 месяца назад
You’re a great teacher man 🫂
@WillsB3
@WillsB3 Год назад
Random Question.. What keyboard is being used in these videos? The typing sounds very satisfying 😅
@KorhalKk
@KorhalKk 11 месяцев назад
Would clamping using the 3vw allow the zoom to work?
@oguilhermeaquino
@oguilhermeaquino Год назад
Hello my friend! Happy new year! Do you allow me to record reacts from your videos IN PORTUGUESE? Always mentioning your channel.
@nairanvac79
@nairanvac79 Год назад
Shoutout to Kyle for getting some furniture in his room
@MrW0rDs
@MrW0rDs Год назад
Maybe once iOS 18/19 is out it'll be OK to drop support for iOS 15 and use container queries, but it'll be a couple of years until then, I don't think earlier than that is reasonable for production.
@glurp1er
@glurp1er 4 месяца назад
Most of those defy the *cascade* style sheet (aka css) principles. You should define the main rule then define the exceptions, instead of defining a bunch of different rules.
@CoIdestMoments
@CoIdestMoments 11 месяцев назад
what's the add-on giving the pixels sizes in dev tools ?
@RyoCodes
@RyoCodes Год назад
and there we go 😊
@foxxo-dev
@foxxo-dev Год назад
8th and Happy New Year!
@wdsenjoyer9960
@wdsenjoyer9960 Год назад
This is great!
@alekkrstic
@alekkrstic Год назад
This guy actually named his account WDS enjoyer
@DarkOceanShark
@DarkOceanShark Год назад
@@alekkrstic Just fan things
@bipinkhatri8642
@bipinkhatri8642 Год назад
wow that's cool
Далее
A practical guide to responsive web design
23:13
Просмотров 141 тыс.
Lens Removal Hack
00:32
Просмотров 4,8 млн
Top 10 CSS Features You Should Know & Use in 2023
19:56
Learn CSS Grid in 20 Minutes
18:35
Просмотров 762 тыс.
Learn CSS Flexbox in 6 Minutes
6:04
Просмотров 26 тыс.
How To Actually Get Hired In 2024
10:43
Просмотров 186 тыс.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Просмотров 153 тыс.
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Avoid these 5 beginner CSS mistakes
21:38
Просмотров 36 тыс.
CSS Tips And Tricks I Wish I Knew Before
12:12
Просмотров 403 тыс.
3 modern CSS techniques for responsive design
14:32
Просмотров 209 тыс.