JSFiddle - React, Tailwind, and code Playground

by NickU

HTML

<script src="http://malsup.github.com/jquery.corner.js"></script>
<div class='Title'>Title</div>
<div class='Caption'>Caption</div>
<div>Others</div>

CSS

div {
  border: 1px solid #C3C3C3;
  padding: 5px;
  margin: 5px;
}

.Title
{
    color:red;
    font-family: Georgia;
    position:absolute;
}

.Caption
{
    color:blue;
    font-family: Georgia;
}

JavaScript

$('[class]').filter(function() {
  return $(this).css('font-family').toLowerCase().indexOf('georgia') > -1;
}
).corner();