JSFiddle - React, Tailwind, and code Playground
by John Doe
HTML
<div id='success' class='success' style=\"display:block\">geargergeraq</div>
<div id='error_div' class='error_div' style=\"display:none\"></div>
<div class='navcontainer'>
<div class='links'></div>
<div class='mitte'></div>
<div class='rechts'></div>
<footer></footer>
</div>
CSS
body
{
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
}
.success, .error_div {
background-color:#fff;
position: fixed;
left:0;
top: 0px;
text-indent: 150px;
width: 100%;
height: 15px;
border: 1px solid;
padding:30px 20px 30px 55px;
font: bold 12px verdana;
text-transform:uppercase;
-moz-box-shadow: 0 0 5px #888;
-webkit-box-shadow: 0 0 5px#888;
box-shadow: 0 0 5px #888;
text-shadow: 2px 2px 2px #ccc;
z-index:10000;
}
.success, .error_div {
position: fixed;
left:0;
top: 0px;
text-indent: 150px;
width: 100%;
height: 15px;
border: 1px solid;
padding:30px 20px 30px 55px;
font: bold 12px verdana;
text-transform:uppercase;
-moz-box-shadow: 0 0 5px #888;
-webkit-box-shadow: 0 0 5px#888;
box-shadow: 0 0 5px #888;
text-shadow: 2px 2px 2px #ccc;
vertical-align: 20px;
z-index:1;
}
.success {
color: #4F8A10;
background: #DFF2BF no-repeat 10px center;
background-position:150px 50%;
opacity: 0.975;
}
.error_div {
color: #9B0007;
background: #FFBABA no-repeat 10px center;
background-position:150px 50%;
}
.navcontainer {
display: grid;
grid-template-columns: 25% 33% 42%;
box-sizing: border-box;
background: #F2F2F2;
vertical-align: middle;
height: 88px;
padding-left: 0px;
z-index: 2;
}
.navcontainer > .links {
/* grid-row: 1 / 3; */
/* grid-column: 1 / 2; */
height: 48px;
}
.navcontainer > .mitte {
font-size: 1.5em;
FONT-FAMILY:Verdana, Arial;
color:#737373;
Font-weight:bold;
letter-spacing:0.5em;
text-align:right;
height: 48px;
padding-top: 10px;
padding-right: 0px;
}
.navcontainer > .rechts {
height: 48px;
text-align:right;
}
.navcontainer header {
grid-column-start:1;
grid-column-end:4;
grid-row-start:1;
grid-row-end:2;
}
.navcontainer footer {
background:#FBFBFB;
grid-column: 1 / 4;
text-align:right;
padding-right:20px;
padding-top:5px;
}