JSFiddle - React, Tailwind, and code Playground

by maharajan a

HTML

<div class="wrapper">
<div class="topimage">

</div>
<div class="menu">
</div>

<div class="content">
<div class="leftcontent">
</div>
<div class="rightcontent">
</div>
</div>

</div>

CSS

html,body {
	margin: 0px;
	height: 100%;
	width: 100%;
	left: 0px;
	top: 0px;
	background-color: rgba(173,192,241,1);
    }

.wrapper {
	height: 725px;
	max-width: 960px;
	margin-left: auto;
	left: 0px;
	top: 0px;
	/* [disabled]background-color: rgba(15,26,155,1); */
	margin-right: auto;
	position: relative;
}



.topimage {
	width: 100%;
	max-width: 960px;
	height: 100%;
	max-height: 175px;
	/* [disabled]background-color: rgba(0,102,204,1); */
	position: absolute;
	/* [disabled]border: thin solid rgba(255,0,0,1); */
}

.topimage img{
	max-width: 100%;
	max-height: 100%;
	/* [disabled]margin-bottom: -9px; */
	display: block;
	margin-right: auto;
	margin-left: auto;
	border-radius: 15px 15px 0px 0px;
}

.menu {
	background-color: rgba(15,26,155,1);
	height: 100%;
	max-height: 50px;
	max-width: 960px;
	position: relative;
	top: 20px;
}

.content {
	width: 100%;
	height: 500px;
	background-color: rgba(20,35,214,1);
	position: relative;
	top: 20px;
}

.leftcontent {
	background-color: rgba(255,0,0,1);
	float: left;
	height: 100%;
	max-height: 500px;
	width: 100%;
	max-width: 83.7%;
	top: 175px;
	/* [disabled]position: relative; */
	border-left-color: rgba(205,205,205,1);
	margin-left: 0.3%;
}

.rightcontent {
	background-color: rgba(0,255,0,1);
	float: right;
	height: 100%;
	max-height: 500px;
	width: 100%;
	max-width: 15.7%;
	/* [disabled]position: relative; */
	top: 175px;
	margin-right: 0.3%;
}

.footer {
	
}