Null/CSS: Difference between revisions

From XPUB & Lens-Based wiki
Line 31: Line 31:
* id
* id
* class
* class
* concatenating selectors
* several selectors for 1 rule
http://www.w3.org/TR/CSS2/selector.html
http://www.w3.org/TR/CSS2/selector.html



Revision as of 09:52, 6 November 2014

css declation

  • where in a html document
  • css rule
    • css block
      • declaration

=css_syntax_-_ruleset.png

css rule


=css_syntax_-_block.png

css block


=css_syntax_-_declaration.png

css declaration


=css_syntax_-_declarations_block.png

css declaration


Images from https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax

selector rules

  • id
  • class
  • several selectors for 1 rule

http://www.w3.org/TR/CSS2/selector.html

positioning

typography

  • native fonts
  • font-size: pt, em, px
  • embedding fonts

pseudo-class

  • a :visited :hover
  • :first :first-line :not

https://developer.mozilla.org/en-US/docs/Web/CSS/:first

https://developer.mozilla.org/en-US/docs/Web/CSS/::first-line

resources

https://developer.mozilla.org/en-US/Learn/CSS/Basic_text_styling_in_CSS

https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax



https://developer.mozilla.org/en-US/docs/Web/CSS