Answer the question
In order to leave comments, you need to log in
Why is the image not responding to CSS changes?
Here is the BW image, on this page https://f8t.ru/trenirovki-rostov/ should have been stretched in the mobile version, but remained reduced as it is.
Code in css:
.single-featured-image-header img {
height: 25%;
margin: auto;
width: 25%;
}
@media only screen and (max-device-width: 480px) {
.single-featured-image-header {
width: 100%;
}
}
Answer the question
In order to leave comments, you need to log in
media only screen and (max-device-width: 480px) {
.single-featured-image-header img {
width: 100%;
height: 100%;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question