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

Chapter 4. CSS Selectors > The “Any” Selector

The “Any” Selector

The final type of selector in CSS2.1 is a selector that simply selects all elements. It can be used to set a property on all elements, but that is a rare occurrence. It can also be used in combination with the child selector to count ancestors. Here is an example of the “any” selector used on its own:

* { cursor: auto }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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