JSFiddle - React, Tailwind, and code Playground

HTML

<div></div>

CSS

div {
    background: url(http://cdn4.iconfinder.com/data/icons/silent_night_icons/128/santa.png) no-repeat center center;
    background-size: 100%;
    
    width: 100%;
    max-width: 128px;
    height: 0;
    padding-bottom: 100%; /* height/width * 100%; */
}

JavaScript

//   I don't want santa to be any fatter than he already is!!