CSS box-shadows - how to make them look good
HTML-код
- Опубликовано: 12 сен 2024
- Knowing how to use the box-shadow property is one thing. Using it in ways that actually make your designs better is a completely different story! This video is all about how to use CSS box shadows in ways that enhance your designs.
First I look at the very basics, which is pretty much to make them really subtle. If you think that it's too subtle, you've probably nailed it.
Second I look at how the size of the blur can affect a users perception of height, or how far off the element is from what is below it.
CodePen 1: codepen.io/kev...
CodePen 2: codepen.io/kev...
CodePen 3: codepen.io/kev...
link to material design
Much of this was inspired by the material design documentation: material.io/gu...
---
I have a newsletter! www.kevinpowel...
New to Sass, or want to step up your game with it? I've got a course just for you: www.kevinpowel...
---
My Code Editor: VS Code - code.visualstu...
How my browser refreshes when I save: • How to automatically r...
---
Support me on Patreon: / kevinpowell
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 RUclips channel, make sure to follow me on Instagram and Twitter.
Instagram: / kevinpowell.co
Twitter: / kevinjpowell
Codepen: codepen.io/kev...
Github: github.com/kev...
I just wanted to say that your content is simply amazing, because while not only you're being consistent with uploading, your exlanation is very good and the variety of advanced topics just top it off! Hats off!!
Thank you so much for the kind words, I'm really glad that you're enjoying my videos 😊
Agree with Hopewe 0247!!! :)
Dunno if you guys cares but if you guys are bored like me atm then you can stream all the new series on instaflixxer. Been streaming with my girlfriend these days xD
@Toby Collin yup, have been watching on InstaFlixxer for years myself :)
Thank's a lot man! For someone who has lazily done his CSS, your videos are really helpful.
Great video..keep them coming..💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯
Lots of thanks. You are just awesome .💖💖
Another awesome tip for box-shadows. Thank you.
Glad you liked it :)
Shawdows .... Just saying! I'm creating my own website and I've learned a lot from you, so a big thank you!
Thanks for pointing that out! And I'm glad the video helped 😁
you're the best Kevin
thanks kevin. you're a great teacher
Thanks Christopher :D
Very enlightening!!!
I think you should show the spread-radius in combination with blur-radius=0. That way you can easily show how this value reduces and enlarges the shadow layer.
Thank you soo much Mr. Kevin.. Keep going.. Helped a lot.. 😊😊
Can box shadows use a gradient for the color? Assuming no bc I don’t think you can have a background image on a shadow. In this case you would make the shadow from a pseudo element?
good tutorial Kevin really enjoyed it🤗
Great video. I would like to see more stuff like this. RUclips does not need more videos about box model or other standard crap. This is stellar. Thanks Kevin. :-)
Thanks Marek, glad you liked it!
This video gives me all sorts of ideas 🤔
thank you sir
Great!
I was eagerly waiting for this video..
Thank you very much sir for these awesome contents😉
No problem, glad you like them 😁
CHALLENGE! Make a parallax box shadow that moves with scrolling to suggest a moving of the light source!
Awesome!
cool !!
thanks.
Kevin do a Website review ? Just curious
Never done one for the channel, but doesn't mean I wouldn't do one :)
@@KevinPowell coz i want to summit my site for review lol
Thank you :) you help us a lot
No problem at all :D
was modifying a project n khan academy and when adding box-shadow , nothing happened-it was in a div-perhaps when i added another id tag to a h2 within that div will it stop seeing a box-shadow effect ??
Do u have any videos about styling custom video elements?
hi, you enplane so good so maybe you can help me understand how do i add a box shadow to each photo in a gallery of photos?
Good video
Thanks dude. Could you please upload a tut on translate and mobile first website?? Thanks.
i wanted inset shadowing . can you explain ?
greetings from Costa Rica
I wish I were in Costa Rica, it's snowing here :\
@@KevinPowell jajajaja here summer time jajajja
@@KevinPowell I have learned too much with their videos and that I am a beginner.
Video idea: How to make your website good looking on every device
I'll sort of be talking about that when I do my next 'building out a full-page' series, though that's a little while off.
thanks
No problem at all!
T
haks kevin powell
cool
Glad you liked it :)
No more yellow background, please. I could barely see any shadows at all
Sorry about that.