- 791
- 83 661 127
Kevin Powell
Canada
Registrace 19. 03. 2006
Helping you learn how to make the web, and make it look good while you're at it.
With videos every Tuesday and Thursday, I'll be bringing you How Tos and Tutorials, as well as simple tips and tricks, with a big focus on helping people see how wonderful CSS is!
With videos every Tuesday and Thursday, I'll be bringing you How Tos and Tutorials, as well as simple tips and tricks, with a big focus on helping people see how wonderful CSS is!
Avoid these 5 beginner CSS mistakes
Check out CSS Demystified 👉 cssdemystified.com/?
Here are some common mistakes I see beginners make in their CSS, and a big thank you to Geoff Graham with helping me make this list!
My video on the dumb mistakes I keep making: czcams.com/video/GWkMYvoCXyQ/video.html
⌚ Timestamps
00:00 - Introduction
00:30 - Nothing wrong with making mistakes
01:05 - Collapsing margins
03:58 - Working with collapsing margins
06:20 - Over-reliance on positioning
08:18 - Containing blocks
11:50 - CSS Demystified
12:28 - Over-reliance on flex or grid
15:52 - Named colors
18:12 - IDs as selectors
#css
--
Come hang out with other dev's in my Discord Community
💬 discord.gg/nTYCvrK
Keep up to date with everything I'm up to
✉ www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 www.twitch.tv/kevinpowellcss
---
Help support my channel
👨🎓 Get a course: www.kevinpowell.co/courses
👕 Buy a shirt: teespring.com/stores/making-the-internet-awesome
💖 Support me on Patreon: www.patreon.com/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 CZcams 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!
Here are some common mistakes I see beginners make in their CSS, and a big thank you to Geoff Graham with helping me make this list!
My video on the dumb mistakes I keep making: czcams.com/video/GWkMYvoCXyQ/video.html
⌚ Timestamps
00:00 - Introduction
00:30 - Nothing wrong with making mistakes
01:05 - Collapsing margins
03:58 - Working with collapsing margins
06:20 - Over-reliance on positioning
08:18 - Containing blocks
11:50 - CSS Demystified
12:28 - Over-reliance on flex or grid
15:52 - Named colors
18:12 - IDs as selectors
#css
--
Come hang out with other dev's in my Discord Community
💬 discord.gg/nTYCvrK
Keep up to date with everything I'm up to
✉ www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 www.twitch.tv/kevinpowellcss
---
Help support my channel
👨🎓 Get a course: www.kevinpowell.co/courses
👕 Buy a shirt: teespring.com/stores/making-the-internet-awesome
💖 Support me on Patreon: www.patreon.com/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 CZcams 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!
zhlédnutí: 27 900
Video
It's time for a change...
zhlédnutí 71KPřed 9 hodinami
If you’re interested, you can check out Beyond CSS here: www.beyondcss.dev/ or the full catelogue of my courses here: kevinpowell.co/courses #css Come hang out with other dev's in my Discord Community 💬 discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 www.twitch.tv/kevinpowellcss Help support my cha...
A flexbox trick to improve text wrapping
zhlédnutí 110KPřed 21 hodinou
Checkout iCodeThis 👉 icodethis.com/?ref=kevin 🔗 Links ✅ My finished version: icodethis.com/modes/design-to-code/52/submissions/291888 ✅ ICodeThis: icodethis.com/?ref=kevin ✅ I have a 4-hour long course that deep dives flexbox: flexboxsimplified.com Disclaimer: Some of the links above might be affiliate links, which means that I'll receive a commission in case you like and decide to purchase the...
JavaScript var, let, and const explained
zhlédnutí 19KPřed dnem
Learn more from Chris 👉 gomakethings.com/kevin-powell/ 🔗 Links ✅ The source code from this video: gist.github.com/cferdinandi/975fbf849510d0fa5cc49483f34b29a8 ✅ More from Chris: gomakethings.com/kevin-powell/ ⌚ Timestamps 00:00 - Introduction 00:47 - The basics of var 01:22 - The problem with var 03:55 - Comparing var to CSS selectors 04:41 - let 06:07 - const 07:04 - You can change a const, bu...
23 CSS features you should know (and be using) by now
zhlédnutí 53KPřed 14 dny
Links to all the demos we used are below 👇 Huge thanks to Adam Argyle for joining me with this one! Make sure to follow him! nerdy.dev/ - Twitter: argyleink - Mastodon: front-end.social/@argyleink 🔗 Links :focus-visible codepen.io/argyleink/pen/YzMjmjR :focus-within - codepen.io/kevinpowell/pen/abxaZyz & codepen.io/kevinpowell/pen/jONomrd @media (hover) codepen.io/argyleink/pen/oNOP...
What would you call this layout?
zhlédnutí 31KPřed 14 dny
Read the full artcile here 👉 webkit.org/blog/15269/help-us-invent-masonry-layouts-for-css-grid-level-3/ and Chrome has put out an alternate proposal I didn't mention in the video, which has the opposite point of view: developer.chrome.com/blog/masonry 🔗 Links ✅ The full article: webkit.org/blog/15269/help-us-invent-masonry-layouts-for-css-grid-level-3/ The alternate proposal by the Chrome team:...
I never thought of using CSS animations like this before!
zhlédnutí 63KPřed 21 dnem
Looking to step up your CSS? I have free and premium courses: kevinpowell.co/courses? 🔗 Links ✅ Start here: codepen.io/kevinpowell/pen/BaEOwzo ✅ Finished version: codepen.io/kevinpowell/pen/ExJebPz ✅ Mattew Morete’s Codepen: codepen.io/matthewmorete/pen/KKYeYdd ✅ Ana Tudor’s Codepen: codepen.io/thebabydino/pen/gOqYdJd?editors=1010 ✅ The button video: czcams.com/video/XJt2_NNnRms/video.html ✅ Th...
Write less CSS by taking advantage of inheritence
zhlédnutí 21KPřed 21 dnem
CSS Demystified 👉cssdemystified.com? 🔗 Links ✅ Other HTML & CSS tips for beginners: czcams.com/play/PL4-IK0AVhVjMGPUlxEEUuHot89EcPyCY_.html ⌚ Timestamps 00:00 - Introduction 00:35 - What we’ll be starting with 01:20 - Apply general typography styles to the html or body element 04:20 - Overwriting inherited properties 05:29 - Using inheritance in more specific areas 06:45 - Why links don’t inher...
Is CSS getting harder to learn?
zhlédnutí 16KPřed 21 dnem
Check out the full interview 👉 czcams.com/video/k_BKDy_dRgE/video.html Una's website: una.im Give Una a follow on Twitter: czcams.com/users/unakravets #css Come hang out with other dev's in my Discord Community 💬 discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 www.twitch.tv/kevinpowellcss Help supp...
These CSS features give us more control on the cascade and specificity
zhlédnutí 18KPřed měsícem
These CSS features give us more control on the cascade and specificity
Create a diamond grid with CSS (with a bonus animation)
zhlédnutí 44KPřed měsícem
Create a diamond grid with CSS (with a bonus animation)
Animate nav on scroll - CSS-only & easy to customize
zhlédnutí 45KPřed měsícem
Animate nav on scroll - CSS-only & easy to customize
Dynamic horizontal scrolling based on the amount of content
zhlédnutí 28KPřed měsícem
Dynamic horizontal scrolling based on the amount of content
Make position absolute work with you, not against you
zhlédnutí 24KPřed měsícem
Make position absolute work with you, not against you
Create a cool bubble zoom effect with CSS
zhlédnutí 32KPřed měsícem
Create a cool bubble zoom effect with CSS
Create an animated, circular progress bar
zhlédnutí 39KPřed 2 měsíci
Create an animated, circular progress bar
A simple CSS solution to select ranges of content
zhlédnutí 32KPřed 2 měsíci
A simple CSS solution to select ranges of content
Can I clone this fun effect from CSS Day using modern CSS?
zhlédnutí 34KPřed 2 měsíci
Can I clone this fun effect from CSS Day using modern CSS?
A simple mistake that can screw up your light/dark theme (and how to fix it)
zhlédnutí 39KPřed 2 měsíci
A simple mistake that can screw up your light/dark theme (and how to fix it)
Using currentColor with color-mix is amazing
zhlédnutí 47KPřed 2 měsíci
Using currentColor with color-mix is amazing
The background values no one knows about
zhlédnutí 41KPřed 2 měsíci
The background values no one knows about
Can I recreate this tucked-corner photo effect with CSS?
zhlédnutí 28KPřed 3 měsíci
Can I recreate this tucked-corner photo effect with CSS?
Use this instead of media queries or container queries
zhlédnutí 38KPřed 3 měsíci
Use this instead of media queries or container queries
I’m more intrigued with these variable values. Can css vars be updated directly with js???
Thx!
Class over kid get the fu*k outta here 😂
Another great video!!
you're an shitty at explaining
Then there's me, who tries every center CSS till it aligns then just uses that permanently.
Me starring at the weird looking CSS selectors
I FINALLY know how flex-shrink and flex-grow work! 👏👏👏👏👏👏😃
"make this misatke". Ahh... I see what you did there.
Just wanted to say how much I'm enjoying your videos, Kevin. You're a great teacher!! :)
Thanks
Thank you
Is the overflow really an issue with "whitespace:nowrap"? I mean there isn't really a screen size that can get too narrow to not contain the short text in a button.
i really love this channel
what's happening with the webcam ?
I hope one day there will be CSS4 without default predefined styles on elements
I always teach my juniors, to use !important for defence not for offense
CZcams has to create a way for us to save or bookmark shorts.
The most useful place I use overscroll behavior contain is on horizontal scrolls. If the user is on a laptop with a touchpad it can be very annoying to try and scroll all the way back to the start (think a table with many columns) and you end up going back to the previous page because the browser detects the back gesture
06:46 - GreenSock Plugins 08:06 - Customisation 09:30 - hamburger.js
Your explanation of parent vs child control for grid vs flexbox is a great way to think about which one to use, which has been a struggle for me. Thanks!
Kind of weird name. focus-visible makes the state invisible.
It's funny I just discovered this today with the developer tools, it ia very useful!
CSS Guru is fully back!!
Love these videos, tackling the real issues!
How do I get those fancy squiggly brackets you have?
At the risk of sounding lamen, what software are you using for coding Kevin. I don't recognise that terminal
You are an awesome teacher. Tried to learn the same stuff from other channels , but here got more than that.
I saw it on Chrome Developer CZcams channel and used it today. It is useful
CSS GOAT
Hi Kevin. First of all, I want to say that you give great information. I am grateful to you for this. However, in real projects, images arrive dynamically and optimization processes are mostly done on the server. Do we really have to use these when writing frontend?
I always knew what collapsing margins were, but I've also always used a reset. They are a nice default if you're using the default browser styles (and have no access to CSS), but otherwise, _just skip it_ and you'll never run into any situations where you ever have to think about them again.
This is a great collection of tips. I am curious, could you show an example of expanding the background of an element to be 100vw using border-image? I am trying all kinds of ways and can't seem to be able to expand my element's background full width (outside of its container). Thanks guys.
I think it should _not_ be part of grid, specifically for teachability reasons. I don’t think most developers learn all of grid. Many learn `grid-template-areas` and basic column sizing and stop there, but `grid-template-areas` does not transfer to masonry. So now, to learn masonry, they have to do a deeper dive into grid. THEN they have to do a dive into masonry to figure out which grid principles do and do not apply. I think that makes masonry less accessible to a less experienced developer. Whereas a separate display property means you can learn it directly, and as a bonus nearly all of that will also apply to grid. Or, if they already know grid thoroughly, it’s still a reasonable lift to learn which grid properties/concepts they can apply to masonry.
I saw this when it first got released and always thought, "thats cool ill have to remember that for later", well today is later and i forgot who told me this but luckily i found this video again so ty.
sometimes a mistake can be a good thing, happy mistakes are cool.... in all the years ive been tinkering with css i still dont understand how to use grid properly
You deserve a thousand times to take care of yourself and your family, you have already offered the community a gold mine of videos. Thank you for your way of thinking outside the box and presenting new features in CSS in a simple and clear way. Thank you for continuing to publish, a new video per week is great. This gives us time to integrate what you introduce into our content production.
And now you also need to handle this on resize otherwise if mobile menu height changes on mobile, you might scroll-padding the wrong value.
short, simple and very useful!
Thank you for the great video. I struggle with positioning when I want to overlay content on top of each other. The designs are never responsive. Can I overlay content with z-index using grid or flexbox ? Or is there a way to make my code responsive while using positioning without having to use a million breakpoints?
i thought it was going to be the change from hiding all actual information about the contents of a 20 minutes video in the title or thumbnail :( I used to look at your video often and loved them before you made that choice, now I can't lose 5 minutes for you to get to the point and find out that you're talking about something I already know this time.
this is huge! Thanks Kevin