JSFiddle - React, Tailwind, and code Playground
HTML
<div class="one"></div>
<div class="two"></div>
<div class="three"></div>
CSS
.one {
width:200px;
height:200px;
background:none;
}
.two {
width:200px;
height:200px;
background:transparent;
}
.three {
width:200px;
height:200px;
}
JavaScript
$(document).ready(function() {
var t = $('.one').css('background'),
p = $('.two').css('background'),
c = $('.three').css('background');
console.log("one "+t);
console.log("two "+p);
console.log("three "+c);
})