victorpavlov
4/1/2013 - 12:37 PM

Individual for Google Chrome and some webkit browsers, and Opera in some cases

Individual for Google Chrome and some webkit browsers, and Opera in some cases

/* will be red only in google chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    #test1{color:red;}
}

/* will be red only in opera and google chrome */
#test2 {
    color:green;
    -bracket-:hack(;
        color:red;
    );
}

/* will be red only in google chrome */
#test3{
    color:green;
    (-bracket-:hack;
        color:red;
    );
}

/* will be red only in google chrome */
#test4{
    color:green;
    -bracket-:hack[;
        color:red;
    ];
}