Тёмный

Do You Really Understand CSS Inheritance? 

Web Dev Simplified
Подписаться 1,6 млн
Просмотров 62 тыс.
50% 1

FREE CSS Selector Cheat Sheet: webdevsimplified.com/specific...
Learn CSS Today Course: courses.webdevsimplified.com/...
Working with inheritance in CSS is hard. in this video I will be covering all the complexities of inheritance so you never have to worry again.
📚 Materials/References:
FREE CSS Selector Cheat Sheet: webdevsimplified.com/specific...
Learn CSS Today Course: courses.webdevsimplified.com/...
Fancy CSS Tricks: • 5 Must Know CSS Featur...
Initial Vs Inherit Vs Revert Vs Unset Article: blog.webdevsimplified.com/202...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
01:03 - Initial
04:30 - Inherit
08:00 - Unset
09:37 - Revert
#CSSInheritance #WDS #CSS

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

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 106   
@arhamshahversatile
@arhamshahversatile 2 года назад
*✧ Summary* *● Initial* The actual original property value *● Inherit* The parent's property value *● Unset* Uses the parent's property value if the property is inherited else uses initial *● Revert* The property value of browser's user agent stylesheet *● The all CSS property* The all CSS property sets the same property value to every CSS property. I hope this is helpful Thank you very much
@MuriWolf
@MuriWolf Год назад
Thanks!!
@YTuser789
@YTuser789 Год назад
Thanks a million can you please share your notes on HTML, CSS and JAVA SCRIPT with me?
@technicalgamer3157
@technicalgamer3157 6 дней назад
NO NEED TO WATCH VIDEO🤣
@michellegiacalone1079
@michellegiacalone1079 2 года назад
This video is incredible. Finally, a n explainer of all the cooks in the kitchen causing all those bizarre style errors!
@aCitizenJOSerased
@aCitizenJOSerased 2 года назад
An in-depth explanation of the values. Thank you Kyle, such a great video once more!
@NNNedlog
@NNNedlog 2 года назад
I have been having issues using these guys. Thanks a lot Kyle. Your vids are lifesaving
@AnotherPersonStoppingBy
@AnotherPersonStoppingBy 2 года назад
This was incredibly informative. Thank you for all of the awesome content that you create!
@ivanwong4243
@ivanwong4243 2 года назад
Awesome, I'd been typing every single style property and abusing !important, this vid will rlly help me do better in future!
@lucasgarcia9141
@lucasgarcia9141 2 года назад
THE TIMING. THIS IS ALL I NEEDED.
@bhagabatiprasad2612
@bhagabatiprasad2612 2 года назад
Literally, no one taught me the actual meaning of "inherit" value like this. Thank you, Kyle.
@codesymphony
@codesymphony Год назад
I mean it's the most self explanatory one from the name
@ManishGupta-ww8tg
@ManishGupta-ww8tg 2 года назад
Whenever I want to understand any topic first I used to search on webdevsimplified then other channels
@Born2DoubleUp
@Born2DoubleUp 2 года назад
you've become one of my favorites for learning css and JavaScript more. could you do videos on php, and Ajax? 🙏
@bekjohansson3016
@bekjohansson3016 2 года назад
Kyle, I love the way you explain things, you and Kevin should collab a lot more together. I have learned so much from you two, I think it's time for another show down. I love those videos...
@takanawatrishia7296
@takanawatrishia7296 2 года назад
Omg! I wish that someone would explain me while learning. Why no one explain those things? Thanks Kyle you are doing amazing job!
@paschalokafor9043
@paschalokafor9043 2 года назад
This guy is just on another level. THANKS ALOT
@RavenFelman
@RavenFelman Год назад
Very useful and clear, thank you very much! :)
@yagamiraito8621
@yagamiraito8621 2 года назад
Great video, great channel. Thank you for all your work!
@muhammadusman2284
@muhammadusman2284 2 года назад
Keep it up 👍 informative video for all web designers
@mh_kohansal
@mh_kohansal 2 года назад
Awesome explanation. Finally I understood Difference between these values. 🙏🙏🙏
@johnmcaulay4348
@johnmcaulay4348 2 года назад
Love your videos, thanks so much man.
@Moelgaard85
@Moelgaard85 2 года назад
Why i never knew about this? Amazing! Thanks 👍👍👍
@MohammadrezaEmamyari
@MohammadrezaEmamyari Год назад
Gloden Video. Thanks a ton Kyle!
@dattaveerboda2405
@dattaveerboda2405 2 года назад
Great Video as always :) Kyle never disappoints
@himbary
@himbary 2 года назад
Never heard of "all" before 🤯, awesome stuff
@AcTheMace
@AcTheMace 2 года назад
Thanks! That finally makes sense. I wish I knew this when I had my Drupal internship last summer XD
@arwmedia7424
@arwmedia7424 2 года назад
You are an excellent teacher. This video is so useful.
@destinlee
@destinlee 2 года назад
Amazing!!! Thank you good sir!!!
@Taylor-hu2no
@Taylor-hu2no 2 года назад
video summary: There are essentially three different tiers of css: initial: the original settings by css specification; see formal defn in mdn browser styles: css styles that every browser implements to replace initial values (the *user agent stylesheet* displaying the browser's replacement styles over css initial ones) Finally, there is custom styling that a user replaces over the initial and browser specific styles These three tiers have an obvious heirarchal styling structures: initial (css reqs) -> browser (every browser's default styling rules) -> custom (user's custom styles are top level and override all) inherit: is a property value that, as a child, shares the same value as its parent. the child will go up the chain until it finds a parent element to inherit from. unset: will base itself off the initial or inherit value based properties. If the *all* property is used, then the element styling sets to initial and/or inherit; all is powerful for removing all default styles. revert: returns values back to initial, or can return a value(s) back to a browser's default value.
@rupertxyz
@rupertxyz 2 года назад
Such quality content!
@limitlesskode
@limitlesskode 2 года назад
Im inspired to continue recording for my channel. Thank you Kyle
@128mtd128
@128mtd128 Год назад
great video about inheritance 👌
@emil-kirilov
@emil-kirilov 2 года назад
Great content!
@mming_my
@mming_my 2 года назад
all:unset is awesome, thanks!
@AnriShahverdyan
@AnriShahverdyan 2 месяца назад
This guy is the best ❤
@matifiordelli3886
@matifiordelli3886 3 месяца назад
excellent!!
@richcaro3132
@richcaro3132 2 года назад
Nice demo
@JulianAndresVelaS
@JulianAndresVelaS 2 года назад
great explaining
@ggxue
@ggxue 3 месяца назад
great, thanks
@sudiptaghoshal4930
@sudiptaghoshal4930 2 месяца назад
Awesome video
@vasanths3780
@vasanths3780 2 года назад
Great...👍
@Human_Evolution-
@Human_Evolution- Год назад
all: unset; looks super useful.
@Lurchstavo
@Lurchstavo 2 года назад
I don’t fully understand this yet but I’m closer. Thank you!
@TheLittleMaestro2911
@TheLittleMaestro2911 2 года назад
Nice!!!
@flaminggasolineinthedarkne4
@flaminggasolineinthedarkne4 2 года назад
good day brother this video is really helpfull.
@ajithingmire7782
@ajithingmire7782 Год назад
This channel is underrated
@sonamuhialdeen7866
@sonamuhialdeen7866 2 года назад
So good tutorial
@pedllz
@pedllz 2 года назад
Great info as always! @ 2:01 you meant "inline"
@joydeepp6521
@joydeepp6521 8 месяцев назад
Learnt something new
@Gvnrae
@Gvnrae 2 года назад
Can you make an entire react or angular series
@ArunKumar-yd8qi
@ArunKumar-yd8qi 2 года назад
Thank you Kyle 👍. Can you please make video on angular 12. Its easy for me to understand the way you explained. I hope that will be helpful for the viewers as well.
@alvesvaren
@alvesvaren Год назад
You can use font: inherit on buttons too, then the size, family and weight will get inherited.
@whatever361
@whatever361 Год назад
ty so much
@ahmetdemir8047
@ahmetdemir8047 Год назад
thank you
@nicopicco
@nicopicco 2 года назад
underrated video
@percurious
@percurious 2 года назад
Hey Kyle, great video, thanks al lot. I actually had no idea the standard sets div to display: inline. Question: How come, and how can we afford that, that we all simply work under the "knowledge" (really an assumption, actually) that each div we place on. A customers website will show up as display: block, when the onl formalize standard we have tells otherwise? Out of curiosity: do you happen to know, _why_ the standard does not do what everybod assumes it does? Thanks again, Bests!
@AcTheMace
@AcTheMace 2 года назад
I want this answered too : )
@yashwanthsrini
@yashwanthsrini Год назад
Thanks
@devihomes
@devihomes 4 месяца назад
great explamations, might need to see in .5X very dense :-)
@mayankraj4763
@mayankraj4763 2 года назад
I just want to say "Thank You Very Much".
@ahmetkarakartal9563
@ahmetkarakartal9563 Год назад
THANK YOUUUUUUUUUUUUUUUU
@Ayomikun
@Ayomikun 2 года назад
You must be a wizard, I was literally just reading an article on this yesterday, and I was shocked to read that divs aren't "really" display: block by default. I also read that display is not an inherited property, which was surprising to me. Should this not mean that children of a display: none element should not also inherit this display: none property? And thus children of a display: none element should show? Just something that I need to look into more
@NedumEze
@NedumEze 2 года назад
Cheers Kyle. May I ask, when a user-Agent style has !important , does it have lesser effect that the custom style for same element without !important attached? In other words, can my regular style overwrite a User-Agent style with !important?
@beinyourguard
@beinyourguard 2 года назад
Kyle, would you think is a good practice to set all elements (*) with all:unset, just like box-sizing:border-box?
@percurious
@percurious 2 года назад
To add atop of that: some people like ro do it - but that seemingly also messes with div being (not) a block, right?
@sandipansarkar9211
@sandipansarkar9211 Год назад
finished watching
@htcsaj7876
@htcsaj7876 2 года назад
Great content Kyle.Can you do video on GitHub and git.How to add frontend part in angular on existing java backend project on GitHub
@htcsaj7876
@htcsaj7876 2 года назад
On same repository
@Norfeldt
@Norfeldt 2 года назад
Very good and informative video. Then a full reset css should be all html elements with a "all: unset" ????
@brianjett1446
@brianjett1446 2 года назад
Thinks. You can the other person Kevin Powell videos I'll always watch and learn from.
@Abhi-ow6xe
@Abhi-ow6xe 2 года назад
Plz make separate channel on CSS
@timwilson2009
@timwilson2009 2 года назад
You should play your opening guitar riff on your guitar for us 😀
@johnmedlong55
@johnmedlong55 2 года назад
6:26 Ohhhhhhhhhhhhhhhhhhhhhhh, Buttons don't inherit font-family by default! Thanks for turning the light on in that scary closet.
@straightinsanity2840
@straightinsanity2840 3 месяца назад
Manthan Adhav Teaches best CSS!! 😏😏😎😎
@cusematt23
@cusematt23 5 месяцев назад
kid is a fn legend. how do i donate pls. hair has helped me out SO much.
@conphynement2228
@conphynement2228 2 года назад
- Kyle at 0:45 So if that sounds EXCITING, make sure you subscribe to the channel ... - Me : Stopping and replaying the segment a couple of times, trying to figure out why he didn't say INTERESTING instead ! :-D
@Smile__007
@Smile__007 9 месяцев назад
@webb-developer
@webb-developer 5 месяцев назад
@ipb4isleep
@ipb4isleep 2 года назад
user-agent stylesheet
@mahmoud-bakheet
@mahmoud-bakheet 2 года назад
😍
@iamchiranjeevin
@iamchiranjeevin 2 года назад
My mind blown away.. Thanks brother.
@Akosiyawin
@Akosiyawin 2 года назад
Hey Web Dev Simpilified, I have a tutorial request, can you make a video on "how auto caption/subtitle works" like how youtube does it. I know how to convert speech to text, but not from video speech to text 🤣🤣🤣
@straightinsanity2840
@straightinsanity2840 3 месяца назад
Manthan Adhav teaches best CSS 😏😏😎😎
@mepikminecraft6254
@mepikminecraft6254 2 года назад
hi iam in a big trouble. i am making a new website and it contains a lot of images . so i decided to make an image search engine for my users to easily search the image they want but i dont know how to make it. i searched hundreds of videos on youtube but iam not satisfied with them . pls would u make a video on this topic this will realy help me. pls consider this comment dont ignore it .
@WhoOtherThanParam
@WhoOtherThanParam 2 года назад
third!!
@khalidsaifullahfuad
@khalidsaifullahfuad 2 года назад
Your job is to simplify the web for us, but we don't pay you 🙄. . . . . . kidding I really love your videos 😍.
@coddde8536
@coddde8536 2 года назад
Third
@brewelerbracelets8501
@brewelerbracelets8501 2 года назад
Second!!
@panu7419
@panu7419 2 года назад
First
@michellegiacalone1079
@michellegiacalone1079 2 года назад
WHEN comment = 'first' THEN UserName = AutoBan
@panu7419
@panu7419 2 года назад
That's epic
@coddde8536
@coddde8536 2 года назад
Love your videos. A heart plz
@hmatpin
@hmatpin 2 года назад
The titles of your videos are offensive. You imply that you are the only one who knows stuff when what you do is just repeat the same videos other people have done before
@Zen-lz1hc
@Zen-lz1hc 2 года назад
Thanks
Далее
CSS Layers Are Changing How Specificity Works
14:12
Просмотров 48 тыс.
Learn CSS Transform In 15 Minutes
14:37
Просмотров 169 тыс.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 913 тыс.
Learn Debounce And Throttle In 16 Minutes
16:28
Просмотров 178 тыс.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Просмотров 166 тыс.
Learn JavaScript Generators In 12 Minutes
12:11
Просмотров 171 тыс.
The problems with viewport units
13:23
Просмотров 354 тыс.
#14 - CSS Inheritance - CSS Full Tutorial
8:17
Просмотров 11 тыс.
Using CSS custom properties like this is a waste
16:12
Просмотров 160 тыс.
5+ Must Know HTML Tags That Almost Nobody Knows
15:33
Просмотров 613 тыс.
CSS unset, revert, and initial property values
12:16
Просмотров 2,4 тыс.
Learn CSS Animation In 15 Minutes
15:33
Просмотров 748 тыс.