My HTML page with CSS looks great on my PC, but I'm experiencing some issues with the view on my iPhone 6S. Despite trying to make the page flexible using CSS, I haven't been able to achieve the desired results. Can anyone provide assistance?
I attempted the following:
@media (max-width:1024px) {
.ImageBig {
max-width: 100%;
height:auto;
}
.OpenContainer {
width: 100%;
overflow:hidden;
top:0;
background-color:white;
}
.ImageContainer {
max-width: 100%;
height:auto;
margin: 0 auto;
top: 76%;
display: block;
position:absolute;
}
.ImageInfo {
background-color:#bfc0c4;
padding:10px;
float: none;
display: block;
}
.ImageBuy {
background-color:#e5e8ed;
padding:10px;
font-weight: bold;
}
.exit {
position: fixed;
top: 1em;
right: 1em;
color:black;
}
}
However, it's still not displaying properly. I would like it to resemble this image: https://i.sstatic.net/Llaf6.jpg
You can access the entire HTML page with CSS here:
https://jsfiddle.net/hntbojao/1/
--
Your help in resolving this issue would be greatly appreciated!
Thank you!