🎓 If you’ve been writing CSS for awhile now but you’re having trouble making that next step up with is, you might be interested in my course CSS Demystified: kevinpowell.co/courses?...
Having something be full-width on a website isn't hard, and there are even some neat tricks to break out of a container for a full-width section of a site, but what about when you only want one side to go all the way to the edge?
There are simpler ways to set this up, but in this video I look at how I like to do it because it’s incredibly versatile, and also gives us a good chance to learn more about custom properties, logical properties, grid, positioning, and more 😊.
🔗 Links
✅ Finished code: codepen.io/kevinpowell/pen/ZE...
✅ CSS Demystified: cssdemystified.com?
✅ My other courses: kevinpowell.co/courses?...
✅ My Grid videos: • Getting started with C...
✅ More on logical properties: • Write better CSS using...
✅ How I place my cursor in multiple places at once: • VS Code shortcuts & ti...
⌚ Timestamps
00:00 - Introduction
01:30 - The basic setup for small screens
04:45 - Basic setup for larger screens
10:35 - Fixing the placement of content on larger screens
13:25 - Making the background take up the full width
16:37 - Making it work if the text is before the image
20:00 - Fixing the vertical spacing
22:50 - CSS Demystified
23:15 - Fixing the alignment with the wrapper
24:25 - Fixing the inner spacing
26:48 - Fixing the images
#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 RU-vid 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!
1 июн 2024