CSS for style
Css file structure
Use
Selectors
Properties
Fonts
Colors
Box model
Examples of use:
layout
menu

File structure



a {
background-color: orange;
border: 2px solid magenta;
}

Use in html file


<link href="file.css" type="text/css" rel="stylesheet"/>

<style>
@import url("file.css");
</style>

<style>
Css instructions
</style>

Inline:
<div style="background-color: red; color: blue;" >

Selectors



Tags: <P> --> p { ...
ID: id=".." --> #
class class=".." --> .
Descendent: p a
Attribute: [name="resource]

Properties



Fonts
Colors
Box model
Layout

Typography and color:

Use

View Source

Developer tools

Elements

Styles


Pop up: Inspect Element

Box model


from http://www.hicksdesign.co.uk/boxmodel/

Tutorials:

Editors:

  • http://cssmate.com/csseditor.html
  • http://www.tinymce.com/tryit/3_x/full.php
  • http://www.css3maker.com/css3-transform.html
  • Layout:


    Positioning:

    Examples of menus:

    Themes with Bootstrap

  • http://getbootstrap.com/css/
  • http://bootswatch.com/
  • https://wrapbootstrap.com/
  • W3.CSS framework

  • http://www.w3schools.com/w3css/default.asp
  • Use a spacebar or arrow keys to navigate