I have a FREE COURSE on conquering responsive layouts 👉
🔗 Links
✅ Width auto vs. 100%:
✅ Responsive layout practice for beginners:
✅ Position absolute and responsive layouts:
⌚ Timestamps
00:00 – Introduction
01:00 – Websites are responsive before you write any CSS
03:10 – Avoid fixed sizes for your layouts
08:40 – Avoid declaring things you don’t need
11:12 – Viewport units won’t solve most of your responsive issues
12:50 – Letting the browser do the heavy lifting
19:10 – There are times you will need media queries
#css
—
Come hang out with other dev’s in my Discord Community
💬
Keep up to date with everything I’m up to
✉
Come hang out with me live every Monday on Twitch!
📺
—
Help support my channel
👨🎓 Get a course:
👕 Buy a shirt:
💖 Support me on Patreon:
—
My editor: VS Code –
—
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 YouTube channel, make sure to follow me on Instagram and Twitter.
Twitter:
Codepen:
Github:
—
And whatever you do, don’t forget to keep on making your corner of the internet just a little bit more awesome!
I joined 4ra’s fantasy league and it’s fantastic! the new ad convinced me to try it.
Just watching Finch on 4ra promos pumps me up to place smarter bets!
I know, right, friend? His gameplay analysis is why I trust 4RBT now. Finch knows his cricket!
Yeaah, seeing top players support 4ra makes it trustworthy. it’s a solid betting platform.
So I finally signed up for 4RABET, all because my brother wouldn’t stop talking about it. Have you tried it yet
I know, right, friend? His gameplay analysis is why I trust 4RBT now. Finch knows his cricket!
The 4ra IPL lottery is crazy fun. tried my luck today, and it was so exciting!
4RBT’s promos are making them more legit. it’s a real game changer.
Yeah, man 4ra’s explanations are so clear. even newbies can start easily now.
I personally prefer the view point units for my website layout so it can look same if opened in non-standard or different resolution monitors since 500px box gonna look painfully large on 720p and cute and tiny on 4k monitor and using vh, vw here just work fine for me, while things like images and button pixels is goated there.
I m using top bottom instead of that what should i use😢
2 minutes in and you already made me hate CSS less 😂thanks
Reminds me of the difference between declarative and imperative programming. Imperative would be using media queries, whereas declarative is leaving the browser to figure out the details.
what happend at 3:12?
Seriously, thank you so much for this video! I’ve been struggling with responsive layouts for a while, and you explained everything in such a simple and relatable way. It finally clicked! I’m so grateful you took the time to make this. Hugs from brazil
WHAT THE ACTUAL FUCK?? IVE SEEN THESE SHIRTS SOME MONTHS AGO AND WANTED TO BUY THEM SOOO BAD. THEY ARE YOURS???? (I also remember the front end friends name)
Sir.. I just implemented some of the tips you gave. It really really helped me a lot. Thanks a ton❤❤❤❤❤❤
Thank you…
Personally, i only use media queries if i need to add something, that you can't do with responsive code, this would be like swapping layouts, i.e by going from a desktop navigation, to a hamburger navigation, as mentioned in the video.
As for breakpoints, I find the preset values in the device toolbar (device simulator, responsive simulator, whatever you want to call it) in the developer tools, to be quite useful for inspiration. Usually, I go with:
– Tablet: 768px
– Intermediate: 960px
– Laptop: 1024px
Using one or a mix of these values should cover most needs for media queries."
if you need more than 2 media queries, i honestly believe youre doing something wrong and need to refactor your css to be more natively responsive.
9:04
I wish I could apply this to what a page builder does.
I needed a review, thanks!
00:02 Sự thay đổi trong cách tiếp cận CSS giúp trang web phản hồi nhanh hơn
01:54 Sử dụng CSS reset và điều chỉnh hình ảnh cho thiết kế web responsive
05:33 Đặt chiều cao và chiều rộng tối thiểu và tối đa cho các phần tử
07:18 Đặt lề và chiều rộng cho thiết kế bố cục linh hoạt và thích ứng
10:48 Ôm lấy trình duyệt và làm việc với nó, không chống lại nó
12:39 Sử dụng các đơn vị khung nhìn một cách có trách nhiệm để kiểm soát bố cục tốt hơn
16:07 Thiết kế nội tại cho phép trình duyệt tìm ra bố cục, giúp trình duyệt dễ dàng và thích ứng hơn.
17:48 Bố cục linh hoạt sử dụng đơn vị minmax và fr
20:55 Tiếp cận các truy vấn phương tiện bằng cách thêm độ phức tạp để quản lý dễ dàng hơn
22:32 Khóa học miễn phí có tên là chinh phục bố cục đáp ứng để thay đổi tư duy
Crafted by Merlin AI.
Great lessons
In 12:26 why the header is taking the whole vh when it's set on minimum of 80vh ?
@16:47 "the whole pixel perfect thing, first of all, please don't try and do that". this sentence, in a way, can make the world a better place.
this made so so much sense. THANK YOU!