‫Hey, there.
‫Welcome back.
‫Now in this lecture, we are going to discuss about.
‫Extend our inheritance, how this is going to work and why this is important.
‫Now there are chances that you have or you might need to import several similar property on many items,
‫for example in a fight.
‫A quick example Let's say I need to or padding.
‫Let's that one them on.
‫Maybe I need between different sizes that their own size has 15 picks and I'm just picking examples.
‫So don't worry on.
‫Maybe I also have some borders.
‫That's one fixer in southern and then some color.
‫Maybe this one save this one.
‫And maybe I want to import this here.
‫Maybe I want to import this here.
‫Also here.
‫Also unknown father item as well.
‫So maybe here as well as here.
‫So if I want to import certain common content, hey, can see this is the change that we are currently
‫looking at.
‫So maybe we want to import this change on each of the item instead of doing that.
‫What we can do is we can create something common Oh, and save this common property, and then we can
‫extend it, for example, and I can utilize something like this percentage, then the name of that common
‫property and can define them.
‫So that's a common item or item property, something like this.
‫I can utilize this percentage, then give it a name.
‫I should say I don't know if you.
‫And here I can provide these common properties to copy this one.
‫Now, instead of implementing all of them on items individually, what we can say, we can extend this.
‫Here we can utilize this and great extent, and then the property name so we can utilize something similar.
‫So instead of writing all of this again and again here, I'm just taking your phone, actually.
‫But usually when you work with big website, these are big.
‫Chances are these common properties has maybe 15, 20, and then there are items like $25 unleaded.
‫So that's why this works well.
‫So let's say maybe I want to extend the property so I can utilize, extend and head.
‫I just need to mention the property that I'm going to work with, which has item properties.
‫Remember to utilize this person soap and then close it.
‫Save this one.
‫Now this will be applied without items.
‫I need to follow something similar with each one of them.
‫See?
‫And to OK converted to SAS now before checking out the result, I want to check this dialogue test and
‫if I jump on to my items here, you can see what they did is they created something like this.
‫So now we have a one, two, three, four and five and they have this common property.
‫Yes, we can do this by writing here itself directly, but this is a feature that works well when you
‫have big files.
‫So if I jump here, you can see still the change are intact.
‫So that means this extent can help us to extend several properties which are commonly utilized here
‫and there.
‫Now this works well when we have properties like something like a new flex.
‫So we have something like Flex centers, or maybe at that point of time, you need to center several
‫things.
‫Art, if you jump onto this example, you have this display, Flex Flex Wrap.
‫So yeah, these are the common property, and they're usually divided among things, so you can provide
‫the name according to team, the most common example where I utilize it as related to Flex Center so
‫I can just say a common property regarding Flex and then I can extend it wherever I want.
‫Now remember, I have described it here.
‫That means all the properties that are extending it will be included at.
‫And if I try to take this from here and let's move to the top here, save this one and get dark hair
‫style CIUSSS, you can see it's gone from here, but it will be at the top itself.
‫Yeah.
‫So remember, this is an important point that you need to take care about.
‫The other thing is, let me go back.
‫So here I am, importing a deep bottom that means.
‫If remember, we read style file from top to bottom.
‫So we have included this here.
‫So that means this property cannot be relied on under fire.
‫Remember this point, this is important and testimonials.
‫So we cannot use this common item thing on our utility or global something.
‫You need to remember that we are reading from top to bottom.
‫That's it.
‫I hope you got the idea about how this extend what you basically take common things and make them together
‫and then extend them later.
‫That's all for this lecture.
‫I hope you got the idea how we are going to utilize it.
‫Thank you for following, and I see you guys in the next one.