See also: http://www.divcss5.com/css-hack/c263.shtml
CSS Google browser css Chrome css Safari browser to identify CSS hack
We know and will use the difference between CSS ie Firefox browser Div+css HACK, here for you to introduce the difference between Google browser (Chrome) Apple browser (Safari) and IE between the HACK;
Only WebKit Core browser Google browser, Safari browser identified CSS hack
Chrome and Safari CSS hack code, only Google browser Apple browser read CSS code:
@media screen and (-webkit-min-device-pixel-ratio:0) {/
* WebKit kernel-compatible CSS selector style put here * *
Example:
@media screen and (-webkit-min-device-pixel-ratio:0) {
. Yangshi1{color: #f00}
. yangshi2{border:1px solid #f00 ;}
. Yangshi3{background: #f00;}
My example:
Other browsers
#login_r3_c1 {height:260px;}
#login_r4_c2 {height:27px;}
#login_r6_c2 {height:27px;}
#login_r4_c10 {height:92px;}
Google or 360 speed mode: @media screen and (-webkit-min-device-pixel-ratio:0) {
#login_r3_c1 {height:262px}
#login_r4_c2 {height:28px;}
#login_r6_c2 {height:28px;}
#login_r4_c10 {height:94px;}
}