• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter Nine. CSS Basics > Inheritance and Its Discontents

Inheritance and Its Discontents

According to CSS, properties inherit from parent to child elements. But it doesn't always happen that way. Consider the following rule:

body  {
      font-family: Verdana, sans-serif;
   }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint