JSFiddle - React, Tailwind, and code Playground

by alkos333

HTML

<div class="logo"></div>

CSS

.logo:before {
    /* Origianl size of the iamge is 310 x 70 */
    content: url('http://pmsicp010.dev.pmsi.com/css/img/preferredmeals-logo.png');
    /* Because this image is used as content, we can resize it */
    width: 200px;
    height: auto;
}