What I'm trying to say is that when I want to add an image, it does it over and over again, like this:
(I'm making a Frogger game btw using js/css/html) You might have to zoom in to see it.
How can I make it without that? I want to do this:
Any help will be appreciated. I think the problem is in the CSS. Also, answer my other question: Is it because I didn't add padding or a margin?
Here is my code:
/* frog */
.frog {
background-color: darkgreen;
background-image: url(https://www.smspower.org/uploads/Sprites/Frogger-GG-Frog-Toberescued.png);
}
Also, please don't think about the background color thing. It's fine and I want it there.