Jun
10
2013

Cross browser inner box shadow

.inner-box { -moz-box-shadow: inset 0 4px 6px rgba(0,0,0,.4); -webkit-box-shadow: inset 0 4px 6px rgba(0,0,0,.4); box-shadow: inset 0 4px 6px rgba(0,0,0,.24); }

Jun
10
2013

Cross browser border radius

.this-box { border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; -khtml-border-radius: 20px; }

Jun
9
2013

Cross Browser CSS Opacity

.your-class { zoom: 1; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5; }