JSFiddle - React, Tailwind, and code Playground

HTML

<div id="boxes">
    <div class="boxEnlarge a sc click green">
        <h4>Sunday Carvery</h4>
        <p><a>Click here for details</a></p>
    </div>
    
    <div class="boxEnlarge d green">
        <img src="http://www.thegeorgebarton.co.uk/wp-content/themes/george/img/carveryEnlarge.fw.png" width="170" height="130" class="close">
    </div>
        
    <div class="boxEnlarge a fnt click blue">
        <h4>Fish Night Tuesday &amp; Friday</h4>
		<p><a>Click here for details</a></p>
	</div>
	<div class="boxEnlarge a sc d blue">
	    <img src="http://www.thegeorgebarton.co.uk/wp-content/themes/george/img/fishEnlarge.fw.png" width="170" height="130" class="close">
	</div>

	<div class="boxEnlarge a click red">
	    <h4>Steak Night Thursday</h4>
		<p><a>Click here for details</a></p>
	</div>	
    <div class="boxEnlarge d red">
	    <img src="http://www.thegeorgebarton.co.uk/wp-content/themes/george/img/steakEnlarge.fw.png" width="170" height="130" class="close">
	</div>

    <div class="boxEnlarge click lialic">
	    <h4>Quiz<br>Night<br>Thursday</h4>
		<p><a>Click here for details</a></p>
	</div>
	<div class="boxEnlarge d lialic">
	    <img src="<http://www.thegeorgebarton.co.uk/wp-content/themes/george/img/quizEnlarge.fw.png" width="170" height="130" class="close">
	</div>
</div>

CSS

/*
Theme Name: The George
Theme URI: http://www.thegeorgeatbarton.co.uk/
Description: The George at Barton Theme
Author: Graham Davidson
Author URI: http://twitter.com.jgtweeting
Version: 1.0
*/

/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
	left: 43px;
	top: 12px;
}
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1; background-color:#EAE2C0; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #000; color: #fff; text-shadow: none; }
::selection { background: #000; color: #fff; text-shadow: none; }


/*...

JavaScript

$("#boxes").on('click', ".boxEnlarge.a", function(){
				var $this = $(this);
				var $show = $($this).next(".boxEnlarge.d:eq(0)");
				var pos = $this.position();
				var Left = pos.left - $this.width()/2 + 30;
				var Top = pos.top - $this.height()/2 + 0;
				$($show).css({'position': 'absolute', 'left': Left, 'top': Top});
				$($show).fadeIn(500);
				}).on('click', ".boxEnlarge.d img", function(){
				$(".boxEnlarge.d").fadeOut(500);
				});