Тёмный

CSS box-shadows - how to make them look good 

Kevin Powell
Подписаться 915 тыс.
Просмотров 66 тыс.
50% 1

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/kevinpowell/pen/qo...
CodePen 2: codepen.io/kevinpowell/pen/NY...
CodePen 3: codepen.io/kevinpowell/pen/JL...
link to material design
Much of this was inspired by the material design documentation: material.io/guidelines/materi...
---
I have a newsletter! www.kevinpowell.co/newsletter
New to Sass, or want to step up your game with it? I've got a course just for you: www.kevinpowell.co/learn-sass
---
My Code Editor: VS Code - code.visualstudio.com/
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 RU-vid channel, make sure to follow me on Instagram and Twitter.
Instagram: / kevinpowell.co
Twitter: / kevinjpowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell

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

 

10 апр 2018

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@Hopewe
@Hopewe 6 лет назад
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!!
@KevinPowell
@KevinPowell 6 лет назад
Thank you so much for the kind words, I'm really glad that you're enjoying my videos 😊
@sobeidalagrange7129
@sobeidalagrange7129 5 лет назад
Agree with Hopewe 0247!!! :)
@tobycollin5759
@tobycollin5759 3 года назад
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
@sincereace6053
@sincereace6053 3 года назад
@Toby Collin yup, have been watching on InstaFlixxer for years myself :)
@paritoshbatish9984
@paritoshbatish9984 3 года назад
Thank's a lot man! For someone who has lazily done his CSS, your videos are really helpful.
@nagahumanbeingzooofparticl8836
Another awesome tip for box-shadows. Thank you.
@KevinPowell
@KevinPowell 6 лет назад
Glad you liked it :)
@lekhavlekhav9882
@lekhavlekhav9882 5 лет назад
Thank you soo much Mr. Kevin.. Keep going.. Helped a lot.. 😊😊
@sobeidalagrange7129
@sobeidalagrange7129 5 лет назад
Very enlightening!!!
@rezarahman1782
@rezarahman1782 3 года назад
Lots of thanks. You are just awesome .💖💖
@christopherikpat5512
@christopherikpat5512 6 лет назад
thanks kevin. you're a great teacher
@KevinPowell
@KevinPowell 6 лет назад
Thanks Christopher :D
@emmanuelmwangi3071
@emmanuelmwangi3071 2 года назад
good tutorial Kevin really enjoyed it🤗
@eetede84
@eetede84 Год назад
you're the best Kevin
@patrickbroaden9820
@patrickbroaden9820 2 года назад
Great video..keep them coming..💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯
@shreejitpal6598
@shreejitpal6598 2 года назад
This video gives me all sorts of ideas 🤔
@roytating4915
@roytating4915 2 года назад
Awesome!
@sumankathet2560
@sumankathet2560 6 лет назад
I was eagerly waiting for this video.. Thank you very much sir for these awesome contents😉
@KevinPowell
@KevinPowell 6 лет назад
No problem, glad you like them 😁
@user-tp1rw8xb8i
@user-tp1rw8xb8i 6 лет назад
Thank you :) you help us a lot
@KevinPowell
@KevinPowell 6 лет назад
No problem at all :D
@Justin-nf6tw
@Justin-nf6tw Год назад
thank you sir
@toderox
@toderox 2 года назад
Great!
@CarlosReveles
@CarlosReveles 6 лет назад
Shawdows .... Just saying! I'm creating my own website and I've learned a lot from you, so a big thank you!
@KevinPowell
@KevinPowell 6 лет назад
Thanks for pointing that out! And I'm glad the video helped 😁
@yassmaboby296
@yassmaboby296 5 лет назад
cool !!
@forrest_lump
@forrest_lump 3 года назад
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.
@mareksawinski8225
@mareksawinski8225 6 лет назад
Great video. I would like to see more stuff like this. RU-vid does not need more videos about box model or other standard crap. This is stellar. Thanks Kevin. :-)
@KevinPowell
@KevinPowell 6 лет назад
Thanks Marek, glad you liked it!
@yunmulu1659
@yunmulu1659 Месяц назад
thanks.
@md.rakibulislam8064
@md.rakibulislam8064 5 лет назад
Good video
@litellavi
@litellavi 4 года назад
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?
@clevermissfox
@clevermissfox 7 месяцев назад
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?
@naimur634
@naimur634 3 года назад
Do u have any videos about styling custom video elements?
@mohammedriyazuddin5649
@mohammedriyazuddin5649 6 лет назад
thanks
@KevinPowell
@KevinPowell 6 лет назад
No problem at all!
@andrewnoonan5418
@andrewnoonan5418 2 года назад
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 ??
@Epicradarofficial
@Epicradarofficial 4 года назад
Thanks dude. Could you please upload a tut on translate and mobile first website?? Thanks.
@Rocadamis
@Rocadamis 2 года назад
CHALLENGE! Make a parallax box shadow that moves with scrolling to suggest a moving of the light source!
@Destinymusic506
@Destinymusic506 5 лет назад
greetings from Costa Rica
@KevinPowell
@KevinPowell 5 лет назад
I wish I were in Costa Rica, it's snowing here :\
@Destinymusic506
@Destinymusic506 5 лет назад
@@KevinPowell jajajaja here summer time jajajja
@Destinymusic506
@Destinymusic506 5 лет назад
@@KevinPowell I have learned too much with their videos and that I am a beginner.
@tilakmadichettitheappdeveloper
@tilakmadichettitheappdeveloper 3 года назад
i wanted inset shadowing . can you explain ?
@thangjamkishorchand
@thangjamkishorchand 5 лет назад
Kevin do a Website review ? Just curious
@KevinPowell
@KevinPowell 5 лет назад
Never done one for the channel, but doesn't mean I wouldn't do one :)
@thangjamkishorchand
@thangjamkishorchand 5 лет назад
@@KevinPowell coz i want to summit my site for review lol
@rbhakusho3843
@rbhakusho3843 6 лет назад
cool
@KevinPowell
@KevinPowell 6 лет назад
Glad you liked it :)
@stoyanchorbov7159
@stoyanchorbov7159 6 лет назад
Video idea: How to make your website good looking on every device
@KevinPowell
@KevinPowell 6 лет назад
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.
@adoneind.5803
@adoneind.5803 4 года назад
T haks kevin powell
@amyp.575
@amyp.575 4 года назад
No more yellow background, please. I could barely see any shadows at all
@KevinPowell
@KevinPowell 4 года назад
Sorry about that.
Далее
3 Box Shadow Tricks You MUST Know
17:05
Просмотров 68 тыс.
CSS Box-Shadow tutorial: the basics
12:31
Просмотров 150 тыс.
Avoid these 5 beginner CSS mistakes
21:38
Просмотров 59 тыс.
CSS Flexbox Crash Course
35:53
Просмотров 202 тыс.
Stop animating box-shadows the wrong way!
14:38
Просмотров 33 тыс.
5 CSS mistakes that I see way too often
19:03
Просмотров 358 тыс.
How To Make Tooltips With Only CSS
15:05
Просмотров 108 тыс.
Flexbox design patterns you can use in your projects
15:33
Learn CSS BOX MODEL - With Real World Examples
17:45
Просмотров 85 тыс.