User Tools

Site Tools


csscheats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
csscheats [2016/01/09 05:35]
dwheele created
csscheats [2016/06/10 00:25] (current)
admin ↷ Page moved from dan:csscheats to csscheats
Line 3: Line 3:
 ===== Selectors ===== ===== Selectors =====
  
 +^Selector^Description^
 +|.class|Selects elements with class="class"|
 +|#id|Selects the one element with id="id" //Can only be one//|
 +|div, p|Selects all <div> elements and all <p> elements|
 +|div p|Selects all <p> elements inside <div> elements|
  
-===== Operators ===== 
  
 +===== Color Picker =====
  
 +[[http://www.w3schools.com/tags/ref_colorpicker.asp|{{:dan:colorpicker.gif}}]]
  
-===== Examples =====+===== Operators =====
  
 +  * border
 +    * border: 5px solid red;
 +    * border-bottom : 2px;
 +  * font-family
 +  * margin
 +  * font-color
 +  * background-color
 +    * background-color: #00ff00;
 +  * color (sets Text color)
 +    * color: #00ff00;
 +  * padding
 +    * padding: 3px; -> 3 pixels all around, or specify clockwise starting with top
 +
 +===== Examples =====
 +<code html>
 td {font-family: Verdana, Arial; font-size: 9pt;} td {font-family: Verdana, Arial; font-size: 9pt;}
 +</code>
 +
 +===== Color Picker ======
 +
  
 +http://www.w3schools.com/tags/ref_colorpicker.asp
csscheats.1452317715.txt.gz · Last modified: 2016/01/09 05:35 by dwheele