So for a few days now I haven't been able to solve my problem, let me explain, so for example, I download an instagram post (png) or (jpg) and then add it to my css and add the background-size: cover; as I will show in the code but then I'm pretty sure that causes the problem because then some images are usually cut off when the screen is made smaller or just in the default pc view of 1920 x 1080 resolution and are not shown fully. I am aiming to make it so that the whole image is shown not just some of it.
here is my html
<div class = "ideas-grid">
<!--Idea grid item 10-->
<a href="https://www.instagram.com/p/andherewouldbethelinktothepost" target="_blank">
<div class="idea-grid-item number-10">
</div>
</a>
</div>
I have the anchor link so that when they press on 'the image' it sends them to the link here is my css:
.number-10{
background: url(../images/izaellelovely.jpg);
background-size: cover;
}
.ideas-grid a{
transition: 600ms;
}
.ideas-grid a:hover{
background-color: #eb648c;
}
So again how do i make it so that at no screen size the image is not cutoff to fit the size of the grid or the anchor tag( what i mean by this is that when the screen is small or sometimes bigger even though the size of the ideas-grid box or the anchor tag one could go bigger to fit the whole image it stays a certain size and then obviously the image is made to cover so it just covers what it has to) size but instead show the full image in it