Top CSS Best Hacks
Category: CSS, CSS3 Tutorial | 1,003 views | 2 Comments |
If you are front end coder you must know how important is to make cross browses, valid CSS and xHTML code. And also you must know how much time we are spending in all those hacks and fixes for various browsers.
Here is the list of 10 hand picked CSS hacks and tricks which can help you in your CSS code and also save some time.
Min-Height
selector {
min-height:500px;
height:auto; !important
height:500px;
}
Autoclear
.container:after {
content: “.”;
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.container {display: inline-table;}
/* Hides from IE-mac \*/
* html .container {height: 1%;}
.container {display: block;}
/* End hide from IE-mac */
- 150 CSS Examples
- CSS3 Multi Column Feature
- CSS Tips
- Organizing Your CSS Files
- 100 CSS Examples and Tutorials
- Top CSS Tips
- Introduction to CSS3
- Margins and Absolute Positioning
- Top reasons sites break in IE 7
- Write a Clean CSS




