Multiple Class / ID and Class Selectors

Hello Guys

Please see how we select multiple Id and classes from css.






In first example header is ID and callout is class implemented on same div so we write its CSS
as #header.callout {},


where as


In second example header is ID and callout is class implemented on same div and callout is child div of header so we write its CSS
as #header .callout {}

Means
#header "space" .callout {}

Thanks

CssZilla
SHARE

csszilla

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment