JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://igniteui.com/js/modernizr.min.js"></script>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
<script src="https://igniteui.com/js-data/js-controls"></script>
<script src="https://cdn-na.infragistics.com/igniteui/latest/js/infragistics.core.js"></script>
<script src="https://cdn-na.infragistics.com/igniteui/latest/js/infragistics.lob.js"></script>
<script src="https://igniteui.com/js-data/philosophers"></script>
<link href="https://cdn-na.infragistics.com/igniteui/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet"></link>
<link href="https://cdn-na.infragistics.com/igniteui/latest/css/structure/infragistics.css" rel="stylesheet"></link>
<script id="maximized-state" type="text/template">
<div class="item-container" style="background-image: url(${picture});">
<div class="maximized-container">
<h3 class="item-name item-name-maximized">${name}</h3>
<div class="item-quote">${quote}</div>
</div>
</div>
</script>
<script id="minimized-state" type="text/template">
<div class="item-container" style="background-image: url(${picture});">
<h3 class="item-name">${name}</h3>
</div>
</script>
<div id="philosophers">
</div>
CSS
#philosophers {
margin-top: -10px;
margin-left: -5px;
}
.item-container {
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
.maximized-container {
height: 100%;
position: relative;
}
.item-name {
margin: 0;
color: #FAFAFA;
font-size: 20px;
text-shadow: 2px 2px 4px #424242;
margin-left: 5px;
}
.item-quote {
color: #424242;
font-size: 30px;
background: rgba(255,255,255,0.8);
position: absolute;
bottom: 0;
padding: 10px;
}
.item-name-maximized {
font-size: 30px;
}
.ig-tile-minimize-button {
position: relative;
}
.ig-layout-item {
padding: 0;
border: none;
}
.ui-igtile-inner-container:hover {
background-color: #EEEEEE;
}
JavaScript
$(function () {
$("#philosophers").igTileManager({
width: "100%",
height: "620px",
marginLeft: 10,
marginTop: 10,
dataSource: philosophers,
columnHeight: ["200px", "150px", "*"],
columnWidth: ["30%", "*", "250px"],
items: [
{ rowIndex: 0, colIndex: 0, rowSpan: 1, colSpan: 1 },
{ rowIndex: 0, colIndex: 1, rowSpan: 2, colSpan: 1 },
{ rowIndex: 0, colIndex: 2, rowSpan: 1, colSpan: 1 },
{ rowIndex: 1, colIndex: 0, rowSpan: 2, colSpan: 1 },
{ rowIndex: 1, colIndex: 2, rowSpan: 1, colSpan: 1 },
{ rowIndex: 2, colIndex: 1, rowSpan: 1, colSpan: 2 }
],
maximizedState: $("#maximized-state").html(),
minimizedState: $("#minimized-state").html()
});
});