.icon { width: 50px; height 50px; fill: red; } .no-svg .icon { background-image: url("icon.png"); background-repeat: no-repeat; background-size: 50px 50px; }