I suspect there is some kind of bug. I did this project, it told me when running the tests that I need to specify the properties, max-width 100%, height auto and display.block for the image. I did, it still showed me that I need to specify these three properties. Then suddenly I began to perceive that heigh: auto is correct, although I did not change anything. The remaining properties still do not accept. And so I need to use property “width=100%” directly ih HTML to display it normally. So, what way can I link my code directly?
<img id="image" width="100%" src="somesrc" />
img {
display: block;
max-width: 100%;
min-width: 500px;
height: auto;
}
upd
The min-width property on the internal browser doesn’t work either. I tried to run the code through index.htms and styles.css in the firefox browser, everything works correctly there and the width property works fine from styles, not from html.