Difference between revisions of "Cascading Style Sheets"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(See also)
(External links)
Line 70: Line 70:
 
* [http://nefariousdesigns.co.uk/on-html-element-identifiers.html On HTML Element Identifiers]
 
* [http://nefariousdesigns.co.uk/on-html-element-identifiers.html On HTML Element Identifiers]
 
* [http://www.smashingmagazine.com/2012/04/decoupling-html-from-css/ Decoupling HTML From CSS]
 
* [http://www.smashingmagazine.com/2012/04/decoupling-html-from-css/ Decoupling HTML From CSS]
 +
* [https://csscreator.com/ CSS Creator] - online CSS generator
 +
  
 
[[Category:Cascading Style Sheets]]
 
[[Category:Cascading Style Sheets]]
 
[[Category:Web design and development]]
 
[[Category:Web design and development]]

Revision as of 15:38, 8 May 2016

Cascading Style Sheets (CSS) is a language used to define the presentation ("look and feel") of a document written in HTML or some other markup language.

Style sheet

See Style sheet (web design) for a discussion of style sheets.

Web page layout

CSS is fundamental to web page layout.

CSS box model

The CSS box model defines how HTML elements fills space in a web page.

Separation of concerns

Separation of concerns is a design principle which requires certain entities to take certain responsibilities, and other entities to take other responsibilities.

In web design, separations of concerns includes the separation of:

  • Style sheet provide design, presentation, layout, color
  • Markup tags (HTML or XHTML) provides semantic content and structure

This design approach is identified as a "separation" because it largely supersedes the antecedent methodology in which a page's markup (HTML) defined both style and structure. (For example, the font element.)

Selectors

Selectors specify which HTML elements will be selected -- and thus affected -- by a style rule.

Fundamental selectors

See also

External links