User Tools

Site Tools


csscheats

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
csscheats [2016/01/09 05:37]
dwheele
csscheats [2016/06/10 00:25] (current)
admin ↷ Page moved from dan:csscheats to csscheats
Line 6: Line 6:
 |.class|Selects elements with class="class"| |.class|Selects elements with class="class"|
 |#id|Selects the one element with id="id" //Can only be one//| |#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}}]]
  
 +===== 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 ===== ===== Examples =====
Line 16: Line 33:
 td {font-family: Verdana, Arial; font-size: 9pt;} td {font-family: Verdana, Arial; font-size: 9pt;}
 </code> </code>
 +
 +===== Color Picker ======
 +
 +
 +http://www.w3schools.com/tags/ref_colorpicker.asp
csscheats.1452317862.txt.gz · Last modified: 2016/01/09 05:37 by dwheele