JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<header>
<code>
<span>E</span>xample
</code>
<div id="language">
<a href="/en/home"><img alt="England" src="http://placekitten.com/g/100/100" /></a>
<a href="/br/home"><img alt="Brazil" src="http://placekitten.com/g/100/120" /></a>
</div>
</header>
</body>
</html>
CSS
* {margin: 0; padding: 0;}
body {
background: #f2f2f2;
font: Verdana,Arial,Helvetica,Sans-Serif;
}
header {
width: 100%;
height: 80px;
background: #333333;
color: #f5f5f5;
font-size: 2em;
}
header span {
font-size: 2.5em;
}
code {
float: left;
}
#language {
float: right;
}
#language a img{
height: 100px;
}
nav {
float: left;
width: 76%;
height: 20px;
padding: 5px 2%;
background: #424242;
}
nav ul {
list-style: none;
}
nav li {
float: left;
margin-right: 3%;
}
nav li a, a:hover, a:visited, a:active, #current {
height: 20px;
font-size: 1.2em;
color: #cccccc;
border: none;
text-decoration: none;
}
nav li a:hover, a:active, #current {
color: #404040 ;
background: #f2f2f2;
padding-bottom: 5px;
}
#search {
float: right;
width: 16%;
height: 20px;
padding: 5px 2%;
background: #424242;
color: #ffffff;
}
#search_text {
float: left;
width: 83%;
height: 16px;
margin: 2px 1%;
background: #a9a9a9;
color: #000000;
border: none;
}
#search_button {
float: right;
width: 15%;
max-width: 20px;
height: 20px;
}
section {
float: left;
width: 94%;
min-height: 100px;
margin: 20px 2%;
background: #ffffff;
border-radius: 10px;
}
footer {
position: fixed;
bottom: 0;
width: 96%;
height: 30px;
padding: 2px 2%;
font-size: 0.8em;
background: #424242;
color: #cccccc;
}
#footer_text {
float: left;
margin-top: 8px;
}
#footer_images {
float: right;
}
#footer_images img {
height: 30px;
margin-left: 5px;
border: none;
}