How is the concept of inheritance applied in css?

Answer Posted / hrpynux@gmail.com

In CSS, inheritance controls what happens when no value is specified for a property on an element. ... inherited properties, which by default are set to the computed value of the parent element. non-inherited properties, which by default are set to initial value of the property.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different variations of CSS ?

348


How comments can be added in CSS?

365


What does cascading mean in css?

399


How do I center a ul list in css?

351


Why do we use padding?

320






How do you increase font size?

372


How to vertically center a div for all browsers?

356


Explain the following common css units of length: cm, em, in, mm, pc, pt, and px.

366


What does p mean in css?

372


What is css conflicting style?

337


Can a div have multiple classes?

360


What are the advantages disadvantages of using css preprocessors?

362


What new futures added in css3 for borders and how browser support it?

343


What are child selectors??

357


What is attribute selector?

375