I am searching for the following solution. In my CSS I have the following:
img, a img {
max-width: 100%;
vertical-align: middle;
}
This code is necessary for my WordPress theme and responsive web design. Now I want to override max-width
property to auto
. When I do this, it doesn't override:
#pixel-perfect img {
max-width: auto !important;
position: absolute;
margin: -200px 0 0 -140px;
z-index: -9999;
}
What did I do wrong?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…