I am using skeleton framework to do css, i give height:auto!important to a div now when i resize the screen to mobile view it takes same height..is there any way to change the height …..i change the height in media query too but it takes the same height..
It’s called the bang hack. It relies on the inability for Internet Explorer 6 to understand `!important`. Basically, you set whatever you like with the hammerbash flag, then you override it with whatever you like for IE6 only.
So in our case:
height: auto !important;
… results in `height: auto` for everyone except for IE6 which will apply `height: 275px`.
Problem with this hack is it may involve some specificity problems.