Friday, February 8, 2013

February 8 Online Discussion Question 4

What are some of the rules and guidelines in regards to how styles are applied?

5 comments:

  1. First ask questions like: Do any selectors select my element?
    What about inheritance?

    Ethan

    ReplyDelete
  2. If you leave out all the element names, and just use a period followed by a class name, then the rule will apply to all members of the class.
    [Collin]

    ReplyDelete
  3. If multiple selectors select an element, the browser selects the most specific rule.
    Autumn

    ReplyDelete
  4. if multiple selectors select a rule the selector used is the one that the browser can display in order of the selectors listed

    {travis}

    ReplyDelete
  5. If all are equally specific, you choose the one that is last in the CSS file.
    Gracie

    ReplyDelete