JSFiddle - React, Tailwind, and code Playground

HTML

<style>
.namer{color:#bada55;}
.notethumb{background-size:cover; background-width:5rem;height:5rem;float:left;border-radius:50%; padding:20px;}
</style>


<br />
#if($URLMapContent.inode)
#set ($note=$URLMapContent)

#set ($fullname="")
#if ($UtilMethods.isSet($note.prefix))
#set ($fullname="$note.prefix ")
#end
#if ($UtilMethods.isSet($note.firstName))
#set ($fullname=$fullname+"$note.firstName ")
#end
#if ($UtilMethods.isSet($note.maidenName))
#set ($fullname=$fullname+"$note.maidenName ")
#end
#if ($UtilMethods.isSet($note.lastName))
#set ($fullname=$fullname+"$note.lastName ")
#end

<div class="namer"><h1>$fullname</h1></div>
<div><em>$webapi.dateToHTML($UtilMethods.htmlToDate($note.dateOfNote),'MMMM d, yyyy')</em></div>

#if ($UtilMethods.isSet($note.image.rawUri))
<img src="$note.image.getResizeUri(600,0)" alt="$note.imagedescription" />
#end






$note.note 

#end


#if(!$URLMapContent.inode)

#set ($tname=$request.getParameter('name'))

#if($EDIT_MODE)
<a href="javascript:parent.addContentletChapter('61d95eca-801f-44a1-8321-b96323dbfa93');"
class="button">Add New </a><br/><br/>
#end


#foreach($note in $dotcontent.pull("+contentType:AlumniClassNotes +AlumniClassNotes.classNoteOrSpotlightFeature:*Note*",0,"AlumniClassNotes.dateOfNote"))

#set ($id=$note.identifier)
#set ($noteurl = "detail-notedetail.html?inode=$!id")

#if ($UtilMethods.isSet($note.firstName))
#set ($noteurl = "/connect/classnotes/${note.firstName}/${note.lastName}")
#end



#editContentlet($note.inode)
#set ($fullname="")
#if ($UtilMethods.isSet($note.prefix))
#set ($fullname="$note.prefix ")
#end
#if ($UtilMethods.isSet($note.firstName))
#set ($fullname=$fullname+"$note.firstName ")
#end
#if ($UtilMethods.isSet($note.maidenName))
#set ($fullname=$fullname+"$note.maidenName ")
#end
#if ($UtilMethods.isSet($note.lastName))
#set ($fullname=$fullname+"$note.lastName ")
#end

#if ($UtilMethods.isSet($note.image.rawUri))
<a class="thumba" href="$noteurl">
<div class="notethumb"...

CSS

.d0 {
    height: 100px;
    border: 1px solid #333;
}

.d1 {
    float: left;
    width: 100px;
}

.d2 {
	float: right;
    width: 100px;
}

.d3 {
    overflow: hidden;
    width: auto;
    margin: 5px;
}

.d4 {
    overflow: hidden;
    width: auto;
    margin: 5px;
}