JSFiddle - React, Tailwind, and code Playground

by Suresh Pattu

HTML

<html>
<head></head>
<body>
    <div id="page-container">
        <div id="header"><h1>header</h1></div>
        <div id="main-content"><h1>Main content</h1></div>
        <div id="footer"><h1>Footer</h1></div>        
    </div>
</body>
</html>

CSS

#page-container{width:975px;margin:0 auto;}
#header{height:100px;background:#f00;}
#footer{height:100px;background:#000;}
#main-content{height:400px;background:#eee;}
h1{color:#000;font-weight:600;font-size:40px;}