So i have a problem. Im working on a site for my homework using html,css. Now i want the header to has height 700px, width 100%. Now i want an image (thats pretty big has for sure more than 2000px height). to be my background image for my header.
now i have this code:
header{width:100%;
background-image:url("url");
background-repeat:no-repeat;
background-position:top;
background-size:cover;
height:700px}
Now i want to scale the image how i want to, like i could for example make the whole image fit in those 700px height and whole widght, for example using this?:
background-size: 100% 700px;
but i don't want it too like that stretch so i want to maybe dont fit the whole image but maybe cut some pixels downside of my image so it doesn't look that much stretch.
I hope u could understand what i want to achieve sorry for my english.
Now how the code would look like and how can i achieve this? espescially when i have to use
background-position:top;
background-size:cover;
(task)
Thanks for reading!