CSS CODE : Shadow (cross-browser support)

26 Jul

CSS CODE: SHADOW

SUPPORT((Firefox,Internet Explorer,Chrome,Safari,Opera,Netscape Navigator)

-moz-box-shadow: 0 0px 7px rgba(0, 0, 0, 0.15);
-webkit-box-shadow: 0 0px 7px rgba(0, 0, 0, 0.15);
box-shadow: 0 0px 7px rgba(0, 0, 0, 0.15);
-o-box-shadow: 0 0px 7px rgba(0, 0, 0, 0.15);
-ms-box-shadow: 0 0px 7px rgba(0, 0, 0, 0.15);

OR
-moz-box-shadow: 0 0 2px 0;
-webkit-box-shadow: 0 0 2px 0;
-o-box-shadow: 0 0 2px 0;
-ms-box-shadow: 0 0 2px 0;
box-shadow: 0 0 2px 0;

Advertisements

CSS: Cross-Browser(For Border)

26 Jul

Border (Firefox,Internet Explorer,Chrome,Safari,Opera)

-webkit-border-radius: 6px 6px 6px 6px;
-moz-border-radius:6px 6px 6px 6px;
border-radius:6px 6px 6px 6px;
-o-border-radius:6px 6px 6px 6px;
-ms-border-radius:6px 6px 6px 6px;