JSFiddle - React, Tailwind, and code Playground
by BramVanroy
HTML
<div id="container">
<div id="header">
<div id="headerLeft">
<div id="logo">
<img src="http://mbeach.me/arch/images/layout/logo_100.png" alt="MILES Arch Logo" id="miles_arch_logo" />
</div>
<div id="companyName">
<span id="miles_arch">MILES architecture group</span>
</div>
</div>
<div id="headerRight">
<div id="navMenu">
<img src="http://mbeach.me/arch/images/layout/menu_button.png" id="nav_menu_button" alt="menu_button" />
</div>
</div>
</div>
<div id="content">
<div id="slideshow">
<img src="http://mbeach.me/arch/images/layout/main_background.jpg" alt="" />
<div id="leftRight"></div>
<div id="buttons"></div>
</div>
</div>
</div>
CSS
html {
font-size: 100%;
}
body {
font-size: 1em;
background:;
}
#container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0px solid yellow;
}
#header {
width: 100%;
background: #fff;
border-bottom: 4px solid #ffa500;
display: inline-block;
}
#headerLeft {
display: inherit;
padding-bottom: 26px;
}
#logo {
display: inherit;
}
#miles_arch_logo {
position: relative;
top: 15px;
margin-left: 30px;
width: 100px;
height: 101px;
}
#companyName {
margin-left: 92px;
margin-right: 37px;
display: inherit;
font-size: 32px;
position: relative;
top: -20px;
color: #105697;
font-family: arial, sans-serif;
letter-spacing: .05em;
/* Below rescales font: first number is horizontal, second is vertical. */
transform: scale(1.2, .8);
/* W3C */
-webkit-transform: scale(1.2, .8);
/* Safari and Chrome */
-moz-transform: scale(1.2, .8);
/* Firefox */
-ms-transform: scale(1.2, .8);
/* IE 9 */
-o-transform: scale(1.2, .8);
/* Opera */
}
#headerRight {
display: inherit;
}
#navMenu {
width: 50px;
height: 41px;
position: absolute;
right: 44px;
top: 44px;
}
#nav_menu_button {
width: 50px;
height: 41px;
}
#content {
width: 100%;
max-width: 100%;
position: absolute;
top: 136px;
bottom: 0px;
border-bottom: 0px solid yellow;
margin: 0;
padding: 0;
}
#slideshow {
overflow: hidden;
}
#slideshow img {
width: 100%;
/*position: relative;
margin-top: -100px;*/
}
#leftRight {
position: absolute;
border: 0px solid red;
top: 0px;
width: 50px;
height: 50px;
}
#buttons {
position: absolute;
border: 0px solid red;
top: 0px;
left: 50px;
width: 50px;
height: 50px;
}
/* Resizes header info depending on screen size. */
@media (max-width: 1375px) {
/*#slideshow {
height: 531px;
overflow:...