CSS Box-Shadow tutorial: the basics

  Рет қаралды 158,505

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 184
@picool13
@picool13 6 жыл бұрын
One of my favorite tutor till date. Thanks Kevin for always being so descriptive about topics..
@KevinPowell
@KevinPowell 6 жыл бұрын
Super glad you liked it! Good to know there are other people out there who like to know the details on these things instead of just a passing understanding of them.
@ozzyfromspace
@ozzyfromspace 2 жыл бұрын
This was a phenomenal tutorial, Kevin! Your patient discussion made the syntax way more digestible for me 🏆
@umenakid
@umenakid 3 жыл бұрын
This is it! That is the type of video peope like myself need. No complicated detours - just straight, easy and detailled info. Amazing! Thank you.
@arunsharma4709
@arunsharma4709 8 ай бұрын
I rarely leave comments, but your explanation was mind-blowing. Thank you, you have gained a new subscriber.
@maevanako5914
@maevanako5914 4 жыл бұрын
I think you deserve more than just 118k suscribers. SERIOUSLY!!!! Y'all we need to share his vids more often with your friends and collegues.
@neging.7377
@neging.7377 6 жыл бұрын
The box-shadow property really confused me. Thank you for explaining it so clearly!
@doxyshiva
@doxyshiva 4 жыл бұрын
Same here
@AndreasDelleske
@AndreasDelleske 3 жыл бұрын
It’s shady business, what do you expect? :)
@beglis2747
@beglis2747 3 жыл бұрын
@@AndreasDelleske Underrated comment
@nickgoudeau8407
@nickgoudeau8407 3 жыл бұрын
Thank you for all of the content really means a lot to me and the community
@KevinPowell
@KevinPowell 3 жыл бұрын
You're welcome 😊
@mixshots1801
@mixshots1801 3 жыл бұрын
what an explanation : excellent detailed explanation, you simply put all the information into my mind without letting me to go back again
@dosomething6975
@dosomething6975 3 жыл бұрын
I always love when i need your videos for something. I always expect to learn an exceptional amount about the topic, and you never fail me. Thanks!
@Luxcium
@Luxcium 5 жыл бұрын
Your videos are addictive and I like the tone of your voice (some tutorials are really interesting but people making them have not interesting way of expressing themselves apparently) you are amazing 😉
@TinyMaths
@TinyMaths 3 жыл бұрын
Honestly man, you're making the painful parts of the early learning process less traumatic; I'm even enjoying it somewhat.
@aleksandravalchanova5797
@aleksandravalchanova5797 11 ай бұрын
extremely helpful. had a hard time understanding the boxshadow property until i saw your video
@lalitarao366
@lalitarao366 3 жыл бұрын
Thank you for explaining in depth about box-shadow property
@RameenFallschirmjager
@RameenFallschirmjager 5 жыл бұрын
For some reason this tutorial reminded me of lunar eclipse! And after speaking English for many years finally I understood the meaning of off-set!
@claudiomarcio7579
@claudiomarcio7579 5 жыл бұрын
The way you explain things is awesome.
@hishamrabea566
@hishamrabea566 2 жыл бұрын
Man you are so great ! I just discovered your channel today and I think its the best discovery happened since they discovered the internet 😁
@maximmarinovskyi2267
@maximmarinovskyi2267 3 жыл бұрын
Hi! It's really great and important video abouy the box-shadow property. Thank you!
@seanpheneger6632
@seanpheneger6632 6 жыл бұрын
Looking forward to the upcoming segments, love the vids!
@KevinPowell
@KevinPowell 6 жыл бұрын
Glad to hear it sean!
@sunandarlinn1767
@sunandarlinn1767 3 жыл бұрын
Thank you so much. Now I clearly understand how box-shadow property works.
@Xxxsorrow
@Xxxsorrow 4 жыл бұрын
5:09 THANK YOU! That's exactly what I've been looking for. :D
@TazExprez
@TazExprez 2 жыл бұрын
I was reading the MDN and this helped me so much! Thank you!
@srinivasaraoyp3640
@srinivasaraoyp3640 3 жыл бұрын
I like the way he explained the box shadow. Thank you.
@ajimbong1623
@ajimbong1623 3 жыл бұрын
Thanks so much for all the quality CSS tutorials.. you're my favorite 🙏🙏
@KevinPowell
@KevinPowell 3 жыл бұрын
Thanks so much 😊
@vegeta3406
@vegeta3406 Жыл бұрын
you made this property from my most hated to my favorite thanks for thorough explanation
@Justenphelps
@Justenphelps 6 жыл бұрын
Your videos are like hidden gems on KZbin. You are really great at explaining things!
@KevinPowell
@KevinPowell 6 жыл бұрын
Thanks a lot Justen! I'm really happy that you're enjoying them, and I'm glad to hear that I'm doing a decent job of explaining things :)
@Lemon-lp1qb
@Lemon-lp1qb 5 жыл бұрын
Thanks, now i really understand how box-shadow property works.👍
@IG7799-c4u
@IG7799-c4u 3 жыл бұрын
I really just wanted to know what each of the values meant. I got my answer and more! Thanks for explaining in such a clear and precise manner :)
@yashdevmurari7137
@yashdevmurari7137 4 жыл бұрын
Most amazingly described box shadow property!!!!
@revillsimon
@revillsimon 6 жыл бұрын
Another awesome explanation, Kevin. Thanks!
@KevinPowell
@KevinPowell 6 жыл бұрын
No problem, glad you liked it :D
@RoyerAdames
@RoyerAdames 4 жыл бұрын
Thank you for the great content. It's refreshing and just what I need.
@elfusion9196
@elfusion9196 5 жыл бұрын
Your tutorials are awesome, thank you!
@scottsaccenti
@scottsaccenti 4 жыл бұрын
Really simple, clear explanation. Subscribed.
@yunmulu1659
@yunmulu1659 8 ай бұрын
Thanks, still useful after 6 years.
@elielberra2867
@elielberra2867 11 ай бұрын
Thank you so much for this video! This explanation was super clear and helpful!
@ericknicolasnunesdahora4860
@ericknicolasnunesdahora4860 5 жыл бұрын
Amazing tutorial! Thank you so much!
@santhoseaghilsanthose3317
@santhoseaghilsanthose3317 5 жыл бұрын
Awesome Video with crystal clear explanation
@HassanPudineh-uo4kl
@HassanPudineh-uo4kl 11 ай бұрын
Thanks for the video. In 9:46 you said you are skipping the offset but the true action was skipping the spread.
@loveparmar1284
@loveparmar1284 6 жыл бұрын
once again sir . great video! 100 likes for you...
@KevinPowell
@KevinPowell 6 жыл бұрын
Thanks Tinny Learn :D
@iliashterev38
@iliashterev38 3 жыл бұрын
Hello from Bulgaria. Thank you for the nice tutorial. Can we say that the forth parameter - shadow spread is kind of shadow borders ?? Only seems they can not be taken one by one but all four.
@kristijanbarabas9476
@kristijanbarabas9476 3 жыл бұрын
Great tutorial! Thanks a lot. :)
@markovujanic
@markovujanic 4 жыл бұрын
Absolutely awesome video. I never knew about currencolor property :). What noob I am :D. Thanks.
@clevermissfox
@clevermissfox Жыл бұрын
I never knew the shadow colour was inherited from the colour property! That is very, very interesting. I do wonder though if you have several elements like a header, a paragraph, and then a footer that has a different background colour with a different colour; and all three elements are set to different colours, how does it decide what the “currentColor” is … does it go off whatever is set on the body or does it cascade to the last colour set in your style sheet on that particular div that is gaining the shadow ? Gonna have to experiment! Thanks!!!
@injikimo
@injikimo 3 жыл бұрын
this made it so clear to me! thank you so much!
@mdtamim-ci7jn
@mdtamim-ci7jn 10 ай бұрын
Thank you so much for explaining very easily❤
@michellelodgegonzalez7936
@michellelodgegonzalez7936 6 жыл бұрын
Thank you. Useful information!
@shubhamkohli7719
@shubhamkohli7719 4 жыл бұрын
This video is really helpful for me thank you for this video😊
@Infoneson
@Infoneson 6 жыл бұрын
Wow! Didn't know about using inset or currentcolor. Thanks once again!
@KevinPowell
@KevinPowell 6 жыл бұрын
No problem at all!!
@fayoseoluwaseun9448
@fayoseoluwaseun9448 2 жыл бұрын
Thanks so much. This video really helped me.
@jon4160
@jon4160 2 жыл бұрын
Best video on the subject. That's a follow from me
@kingplays5364
@kingplays5364 6 жыл бұрын
nice, just awkward pause on 1st sec of video.
@prodtrxllbeats
@prodtrxllbeats 6 жыл бұрын
lool yup
@celina6204
@celina6204 3 жыл бұрын
adds to the vibe
@ashisharora9694
@ashisharora9694 6 жыл бұрын
Bro ur really awesome amd great teacher . i really watched ur all video . i learnt lots of lots of new things . i always wait for ur new tutorial . plz make one video of Animate full web page with jQuery . when we scroll down the page then content animated by own from different style in each sections . i dnot want any jQuery Plugin . good luck bro i wish u will get millions of subscriber soon . i have happily subscribed ur channel . You r r doing fantastic job . god bless u
@KevinPowell
@KevinPowell 6 жыл бұрын
Thanks for the kind words Ashish! I have something like that on my todo list, though if I did cover it, I might do it with vanilla JS instead of jQuery, as I've been moving away from jQuery lately.
@abhishes
@abhishes Жыл бұрын
very good explanation. thanks!!!
@rhysjaggan9477
@rhysjaggan9477 3 жыл бұрын
Amazing video. I understand it now
@jithinsurendran678
@jithinsurendran678 3 жыл бұрын
I was at box-shadow, Kevin said we can change the spread property to -ve, and he changed value to -ve and pressed enter. Suddenly an ad started, I freaked out. LOL
@minhazulislamasif6612
@minhazulislamasif6612 4 жыл бұрын
awesome, u r the best mentor, respect and love from the heart
@Chigaemezu.
@Chigaemezu. Жыл бұрын
I understand it now, thank you🎉
@ЕленаФедоренко-и5ц
@ЕленаФедоренко-и5ц 4 жыл бұрын
Очень полезно. Рекомендую. Наконец-то научилась работать с тенями правильно. Можно попробовать даже что-то из изометрии.
@cpan2552
@cpan2552 4 жыл бұрын
Вы не можете использовать немного здравого смысла, чтобы сначала поместить свой комментарий в Google Transpose, а затем отправить сообщение? очень странно!
@shakib_04
@shakib_04 4 жыл бұрын
so helpful with many properties
@ADELONSI
@ADELONSI 6 жыл бұрын
Really i'd like to thank you sooooo much regarding this useful video . Thanks a lot
@Oswee
@Oswee 6 жыл бұрын
Great vid. Would like to see something about :focus and :focus-within.
@KevinPowell
@KevinPowell 6 жыл бұрын
Good idea, I'll add it to the list for sure!
@AnuragGuptainspired
@AnuragGuptainspired Жыл бұрын
Suppose I jave a div of 90px width and have set blur-radius more than 90px (or more than the width of div) then how browser calculates the blur in this case?
@abhishekroy7268
@abhishekroy7268 5 жыл бұрын
One Word, THANK YOU. love from INDIA
@notanarutard6951
@notanarutard6951 4 жыл бұрын
Kid: ThAtS tWo WoRdS
@DimitriBoyarski
@DimitriBoyarski 6 жыл бұрын
Thanks, awesome guide. Are these safe enough to use in production? Should I vendor prefixes?
@KevinPowell
@KevinPowell 6 жыл бұрын
You can always check with caniuse.com but in this case, minded for prefixes
@udarakasun
@udarakasun 6 жыл бұрын
Perfect kevin
@mphikisenisiphuhlu7642
@mphikisenisiphuhlu7642 4 ай бұрын
Wow I'm impressed 🎉🔥🔥
@HDChif
@HDChif 6 жыл бұрын
Kevin, when you create new websites do you build everything from scratch or also use some frameworks to make life easier?
@KevinPowell
@KevinPowell 6 жыл бұрын
It depends on the project. Sometimes frameworks look like they'll save you time, but you end up overwriting 80%+ of their styles, it isn't such a time save after all. I learned a lot by using frameworks and learning and understanding how they worked, as well as how they approached naming conventions and things, but now I find that they can be limiting. I do teach full-time right now though (in the classroom), so I haven't been doing very much projects of late either though.
@kishikishi6676
@kishikishi6676 6 жыл бұрын
Now I know! Thank you
@getintosuccess8198
@getintosuccess8198 5 жыл бұрын
nice.. thanks for this tutorial
@mohamadhelaly4979
@mohamadhelaly4979 6 жыл бұрын
Thanx alooooooot You r awsome. Please keep going. I can't wait till the next part Best regards
@KevinPowell
@KevinPowell 6 жыл бұрын
Thanks, Mohamad! Glad you're liking it :)
@Zaque-TV
@Zaque-TV 2 жыл бұрын
So the spread is like how far the light source would be away from the object. The further away the light the bigger the shadow.
@vishnuumakanthan9583
@vishnuumakanthan9583 5 жыл бұрын
Great Video!
@raymondyoo5461
@raymondyoo5461 4 жыл бұрын
You helped me a lot, thanks
@ALESSTIG
@ALESSTIG 4 жыл бұрын
Hello nice tutorial, a question, I have a box with an icon inside and I would like to put a shadow only around the icon how can I do?
@KevinPowell
@KevinPowell 4 жыл бұрын
filter: drop-shadow() 😊
@ALESSTIG
@ALESSTIG 4 жыл бұрын
@@KevinPowell THANK YOU, I WILL TRY
@abdul_busybrain
@abdul_busybrain 7 ай бұрын
keep up the good work
@TheElkster
@TheElkster 6 жыл бұрын
Great lesson!
@KevinPowell
@KevinPowell 6 жыл бұрын
Thanks Paul!
@zackgig1612
@zackgig1612 5 ай бұрын
Can i use linear-background on it? Because i wanna use it as rgb
@chapmansbg
@chapmansbg 5 жыл бұрын
Instead of a colour can an image be used as a shadow? I want to use a flag when a customer choose their country code for their telephone number but I want the flag to look like a shadow.
@Vihanga_Perera_Covers
@Vihanga_Perera_Covers 7 ай бұрын
Understood ! Thanks bro!
@Sammorris207
@Sammorris207 4 жыл бұрын
It really helped thank you!
@samahgad241
@samahgad241 11 ай бұрын
thanks kevin. css hero😍🤩
@salemmajed916
@salemmajed916 6 жыл бұрын
Very GOOD tutorial thank you.
@KevinPowell
@KevinPowell 6 жыл бұрын
Thanks Salem :)
@sonamuhialdeen7866
@sonamuhialdeen7866 3 жыл бұрын
So good tutorial
@Oussamatvchar
@Oussamatvchar 4 жыл бұрын
what is the code color of background body ?
@doming258
@doming258 4 жыл бұрын
What is the editor you are using?
@mianz167
@mianz167 3 жыл бұрын
Informative. Thanks.
@jadennadif7825
@jadennadif7825 5 жыл бұрын
thanks for the amazing explenation
@souvikkundu
@souvikkundu 6 жыл бұрын
Thanks. This really helped me.
@al-aminhossain6824
@al-aminhossain6824 6 жыл бұрын
Dear Sir, I need a help. I'm trying to give a gradient on font awesome icon but it doesn't work on icon. It works only text. Can you help me by making a tutorial on this topic???
@KevinPowell
@KevinPowell 6 жыл бұрын
Which version of Font Awesome are you using? Also, how are you adding the gradient to the text?
@karkar9608
@karkar9608 6 жыл бұрын
Nice setup what camera u are using
@KevinPowell
@KevinPowell 6 жыл бұрын
Just my phone, Galaxy S7. I'd like to get an actual camera at one point as it'd make my life easier, but can't justify the cost at the moment.
@sapokurt2854
@sapokurt2854 2 жыл бұрын
Thank you for this
@itsjustseanyeah
@itsjustseanyeah 6 жыл бұрын
Hey Kevin, nice video,, could you do one on animations and @keyframes, it would really help me. thanks and keep up the good work
@KevinPowell
@KevinPowell 6 жыл бұрын
I have one in the works sean, I just haven't had the time lately to really flesh it out yet. Maybe another month or two.
@itsjustseanyeah
@itsjustseanyeah 6 жыл бұрын
No problem.. will be waiting
@haidyibrahim9426
@haidyibrahim9426 4 жыл бұрын
Very helpful thank you
@stepbystepscience
@stepbystepscience 6 жыл бұрын
very cool!
@KevinPowell
@KevinPowell 6 жыл бұрын
Glad you liked it :D
@PawanKumar-bq6wj
@PawanKumar-bq6wj 3 жыл бұрын
Thanks a lot for this
@ertanmiyanyedi5415
@ertanmiyanyedi5415 3 жыл бұрын
Thanks all. Wery clearly.
@shsftech3792
@shsftech3792 4 жыл бұрын
Thank you very much!!!!
@pulok9909
@pulok9909 4 жыл бұрын
Really awesome
@yogawithcarlos
@yogawithcarlos 2 жыл бұрын
Congrats for the green screen upgrade
@anggamxfx476
@anggamxfx476 6 жыл бұрын
Hi kevin i love the video .but i'am on hard time now i get frustation with image how you dealing with img, maybe you have some advice for me. I am gonna appreciate that so much
@KevinPowell
@KevinPowell 6 жыл бұрын
What exactly are you having trouble with, with images?
@anggamxfx476
@anggamxfx476 6 жыл бұрын
Ya image, the image too big and too small or being cut off, i try to figure it out what the ideal width and height of an image
@KevinPowell
@KevinPowell 6 жыл бұрын
It's hard to ever know the 'ideal' because we have to take so many different things into account, from screen size to orientation. I have 'responsive images' on my todo list, where I'll be going into detail how to handle images when planning for different screens, but that video might be a ways off. A very basic, simple start is to do something like: img { max-width: 100%; height: auto; } Just so at least the images are responsive and will fit within their containers properly.
@anggamxfx476
@anggamxfx476 6 жыл бұрын
Thanks a lot that help me out
@parvezmd6455
@parvezmd6455 6 жыл бұрын
sir what the difference between margin-right:50px vs margin-right:-50px???
@KevinPowell
@KevinPowell 6 жыл бұрын
margin: 50px will push it 50px away from the right side, -50px will pull it 50px toward the right (assuming it's aligned to the right to start with). Alternatively, if there are things to the right of the element, 50px will push them 50px away (toward the right), and -50px would suck them 50px toward the element.
CSS box-shadows - how to make them look good
14:26
Kevin Powell
Рет қаралды 67 М.
5 CSS mistakes that I see way too often
19:03
Kevin Powell
Рет қаралды 360 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Mastering in CSS3 Box Shadow From Beginner To Expert
7:52
Online Tutorials
Рет қаралды 149 М.
You can do that with margins?
14:40
Kevin Powell
Рет қаралды 189 М.
Learn CSS Position In 9 Minutes
9:26
Web Dev Simplified
Рет қаралды 2 МЛН
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 250 М.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 499 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,8 МЛН
3 Box Shadow Tricks You MUST Know
17:05
Kevin Powell
Рет қаралды 69 М.
Are you using the right CSS units?
6:30
Kevin Powell
Рет қаралды 470 М.
Create amazing patterns using CSS gradients
25:28
Kevin Powell
Рет қаралды 48 М.