firefox only css hack | opera only css hack

Below are the firefox only and opera only hacks. Its not recommended to use CSS hacks, but sometimes, we need to write CSS hacks to target specific browsers.

/*firefox only hack*/
@-moz-document url-prefix() { 
	your declaration

/*opera only hack*/
    @media not all and (-webkit-min-device-pixel-ratio:0) {  
        .styled-select select{  


I Am suresh(suresh kumar )a Web developer,Freelancer,webdesigner,UI developer from bangalore. Got 6+ yrs of IT experience . I specialize in standards-based XHTML, CSS and JavaScript web development. Each site I develop is built to be search engine friendly (SEO), using the latest development principles and techniques.

You may also like...

3 Responses

  1. Well…Works like charm for Firefox… :) many thanks buddy

  2. jafaruddin says:

    given css not working in my opera 24.0, please help me

Leave a Reply

Your email address will not be published. Required fields are marked *