JSFiddle - React, Tailwind, and code Playground
HTML
<span style="color:#FF00FF;">
<span style="color:#fa0000">
Brad Christie
</span>
</span>
JavaScript
$(function(){
// demonstrate it only grabs the first element
var spanColor = $('span').css('color');
// You'll notice the color shown is that of the first spab (#FF00FF) and
// not of the nested one.
$('body').append(spanColor);
});