CSSkynet and the Combinator

Epiphany

Got an introduction, through many searches, and much banging of head against the wall, to the use of “combinators” in CSS. A combinator is something that explains the relationship between the selectors.

The four types are:

  • descendant selector (space)
  • child selector (>)
  • adjacent sibling selector (+)
  • general sibling selector (~)

I can see I’ve got some work to do on the CSS for this WordPress theme, too — the text in the bulleted items, above, is a larger font-size than the rest of the post. I also do not care for the way the bullets are outdented.

Published by

Barn

(Byron Canfield) is the sole proprietor and imaginary ruler (pica) of ExperTech, Seattle, Washington (http://www.expertechseattle.com), a firm specializing in computer repair, service, and training. Some of his favorite pastimes are collecting slug trails and moth dust, and he thoroughly enjoys confusing and poking fun at small defenseless animals.

Leave a Reply