I'm working on a project where clicking a button will generate a random span(in a form of a circle) that blinks on a webpage. The problem is that I'm trying to set the background image of span to be a local .jpg file, and only a tiny bit of the image fills the span.
My css looks like this:
.blinkyDancer{
background: url(../xyz/dog.png);
border-radius: 50%;
width: 90px;
height: 90px;
position: absolute;
}
What can I do to make the whole dog's face filled into that span background?