Null/CSS: Difference between revisions

From XPUB & Lens-Based wiki
Line 43: Line 43:
* embedding fonts
* embedding fonts


== other selectors ==
== pseudo-class ==
* <nowiki>:not</nowiki>
* a <nowiki>:visited :hover</nowiki>
* <nowiki>:first :first-line :not</nowiki>
https://developer.mozilla.org/en-US/docs/Web/CSS/:first


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


=resources=
=resources=

Revision as of 09:51, 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
  • concatenating selectors

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