JSFiddle - React, Tailwind, and code Playground
HTML
<div id="tvshape">
<img src="http://openclipart.org/image/300px/svg_to_png/4112/Clue_Simple_Clouds.png" alt="" />
</div>
CSS
#tvshape {
position: relative;
width: 200px;
height: 150px;
margin: 20px 10px;
background: #0809fe;
border-radius: 50% / 10%;
color: white;
text-align: center;
text-indent: .1em;
}
#tvshape:before {
content: "";
position: absolute;
top: 0%;
bottom: 0%;
right: 0%;
left: 0%;
background: inherit;
border-radius: 0% / 50%;
}
#tvshape {
background-position: center center;
}
#tvshape img {
display: none;
}
JavaScript
var tvbackground = $('#tvshape img').attr('src');
$('#tvshape').css('background-image', 'url(' + tvbackground + ')');