JSFiddle - React, Tailwind, and code Playground

by Ved prakash

HTML

<html>

<head>
    <title></title>
    <link rel="styleSheet" type="text/css" href="app.css" />
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Oswald" />
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto" />
</head>
</head>

<body>
    <div class="main">
        <header class="header">
            <div class="app-logo">
              <img...

CSS

* {
    box-sizing: border-box;
}
body {
    margin: 2em 2em 0;
    font-size: 12px;
    font-family: Roboto, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.main {
    min-height: calc(100vh - 4em);
    background-color: #edecec;
}
.header  {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
    background-color: #f8f8f8;
    border-top: 1px solid #fa5927;
    background-repeat: no-repeat;
    box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.7);
}
.header .app-logo {
    width: 180px;
    height: 100px;
    box-shadow: 5px 0 5px -5px #333;
    
}
.header .app-name {
    margin: 0;
    flex: auto;
    padding: 1em;
    color: #fa845f;
    font-size: 1.5em;
    display: inline-block;
}
.header .app-actions {
    padding: 15px;
}
.page-content {
    margin: 15px;
    padding: 15px;
    background-color: #fff;
}
.page-content .page-name.bottom-border {
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
}
.page-content .page-name.top-border {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
    margin-top: 25px;
}
.page-content table {
    line-height: 2;
    margin-bottom: 15px;
    font-family: Oswald, 'sans-serif';
}
.footer {
    color: #fff;
    padding: 30px 30px 0;
    background-color: #31393f;
}
.footer .footer-bottom {
    margin: 0 -30px;
    padding: 0.5em 5em;
    background-color: #262c31;
}
.btn {
    padding: 4px 15px;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    line-height: 1.4;
    border-radius: 2px;
    cursor: pointer;
}
.btn-orange {
    color: #fff;
    background-color: #fa5927;
    border-color: #fa5927;
    box-shadow: 0 2px 3px rgba(0, 0,0, 0.3);
}
.btn-orange.btn-outline {
    color: #fa845f;
    background-color: #fff;
    border-color: #fa845f;
}
.text-orange {
    color: #fa5927;
}