CSS rule for Opera 12?

Possible duplicate:
How to make CSS visible only for Opera

Many times I need to use special CSS rules for the browser so that the design looks the same in every browser. Actually, I need them for IE 7-8, but this time for Opera, namely Opera 12 and beyond.

I found some solutions for Opera:

But they only work at 11 or lower ...

Is there a solution for Opera 12?

+4
source share
1 answer

Here is the officially recommended hack for Opera (in the case of everything else does not work):

doesnotexist:-o-prefocus, .example { color: red; } 

http://www.opera.com/docs/specs/presto2.12/css/o-vendor/

via: fooobar.com/questions/66905 / ...

ps: note a comment from davehale32 that this hack does not work for IE6. Now I do not have IE6, so I can not confirm or deny this.

+13
source

Source: https://habr.com/ru/post/1433817/


All Articles