SharePoint Branding Foundations – Know Your CSS

CSS Core Concepts Outlined

CSS Statements
  • Tag or ID, Class (optional), Formatting
  • Selector.Name {Declaration}
Grouping
  • Grouping Selectors (comma separated)
  • Grouping Declaration Properties (semi-colon separated)
Inheritance
  • BODY->DIV->Paragraph Example
Contextual Selectors
  • BODY->DIV->P.MyStyle Example
Cascading
  • Parent overrules child
  • !IMPORTANT explicit tag recognized by sort
  • Styles listed or IMPORTED in <HEAD> followed by order listed
  • Styles IMPORTED overruled by inline declarations
  • More specific CSS overrule more general CSS statements
  • Two identical styles are referenced, last reference overrides other
Multiple Classes for a Single Element
Advertisements

I am a technologist with a strong background in software engineering. I have many interests. My current distractions are 70s-80s-90s music [it's a very eclectic collection], ontology, information architecture, mobile device technology, medical bioinformatics, artificial intelligence, and nanorobotics.

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: