SOLVED: Cut Image Banner HTML/CSS
This type of header is called a hero image. It can be created by the CSS and HTML listed below:
Make sure to use ##px in the CSS when setting a specific height of the div. If you don't use pixels (like using percent values) then the image will not show up.
I learned something from this:
however, the fox is not showing up. I will mark your answer as the answer if you can figure it out.
A really simple way would be to crop the image on your computer and then put it on there.
Okay, I created a really simple version for you to play with. Basically, I want the fox to be displayed so it is a 500x500px image, but for it to be cut off by the div (it should work at any height).
Any way you can get it working I would be happy with, as long as it doesn't require manually resizing the fox image.
Thanks for the help!