CSS Cheat Sheet
The CSS cheat sheet is designed to act as a reminder and reference sheet, listing all selectors (as of CSS 3) and properties.
It includes a visual example of the box model, unit reference for CSS units and the various media types CSS makes allowance for. A description of what is on the cheat sheet follows, or if you are impatient, you can go straight to the full size CSS cheat sheet
>>Download css cheat sheet in pdf 120.kb
Mozilla/Firefox and Safari 3 users should see a nicely rounded box, with a nicely rounded border.
background-color: #cccccc;
border: 1px solid #999999;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
padding: 15px 15px 15px 15px;
Object shadows work with Firefox, Safari and Chrome. Here is a great tutorial with many more examples for box shadows. There are also several workarounds for Internet Explorer.
border: 1px solid #999999;
box-shadow: 3px 3px 3px #aaaaaa;
-moz-box-shadow: 3px 3px 3px #aaaaaa;
-webkit-box-shadow: 3px 3px 3px #aaaaaa;
padding: 15px 15px 15px 15px;
CSS transforms work with Firefox, Safari and Chrome. For IE, it is possible to add similar effects via matrix filters.
width: 200px;
transform: rotate(30deg);
-moz-transform: rotate(30deg);
-webkit-transform: rotate(30deg);
Column Layout is supported in Safari and Firefox. This degrades gracefully on other browsers by reverting to a standard one column layout.
padding: 15px 15px 15px 15px;
-webkit-column-count: 2;
-webkit-column-gap: 30px;
-moz-column-count: 2;
-moz-column-gap: 30px;
>>Download css cheat sheet in pdf 120.kb
Tags: Box Shadow, Column Layout, CSS Cheat Sheet, download cheat sheet, rounded coner, Transform Rotate
[...] This post was mentioned on Twitter by Deepak kaletha. Deepak kaletha said: CSS CHEAT SHEET http://deepakkaletha.com/css-cheat-sheet-18 [...]
hi,
nice css trick
thanks
[...] This post was mentioned on Twitter by Deepak kaletha. Deepak kaletha said: CSS CHEAT SHEET http://deepakkaletha.com/css-cheat-sheet-18 [...]
hi,
nice css trick
thanks
hi,
nice css trick
thanks