Cancel Background 'none! important' does not work

0

I have this code:

<header style="background-image:url(http://www.......com/wp-)">

Then with a css style

header{background-image:none !important}

With responsive I need to return to show the fund that cancels with !important

I had tried to use :unset !important , inerhit !important e initial !important none of the above manages to cancel the CSS command - none !important .

Can anyone help me?

    
asked by David Villanueva 23.02.2017 в 02:01
source

1 answer

1

Use media query: <link rel="stylesheet" media="(max-width: 800px)" href="example.css" />

If not:

<style>
    @media (max-width: 600px) {
    //  Aquí poner el important.                                                         
    header{background-image:none !important}
    }
</style> 

The average query must adapt the necessary size

    
answered by 23.02.2017 в 02:08