JSFiddle - React, Tailwind, and code Playground
by Stas Orekhovskiy
CSS
* {
margin: 0;
padding: 0;
}
body {
height: 100%;
width: 100%;
background: #353535;
font-family: Tahoma, sans-serif;
color: #fff;
}
img {
border: none;
}
a {
text-decoration: none;
}
ul{
list-style: none;
}
.alignleft {
float: left;
}
.aligntight {
float: right;
}
.clear:after {
content: '.';
display: block;
clear: both;
visibility: hidden;
height: 0;
}
.clear {
*min-height: 1px;
}
/*----- Start header -----*/
#header {
height: 84px;
position: relative;
background: url("images/header_bg.png") repeat-x;
}
.header_container{
position: relative;
padding: 0 485px 0 355px;
}
.logo {
position: absolute;
left: 3px;
top: 4px;
}
.search {
width: 100%;
height: 36px;
line-height: 36px;
display: inline-block;
position: relative;
z-index: 1;
overflow: hidden;
margin: 22px 5px 0 0;
background: url("images/search_bg.png") no-repeat;
}
.search form{
display: block;
}
.search_right{
background: url(images/search_right.png) no-repeat;
width: 32px;
height: 36px;
position: absolute;
right: 0;
}
.search input {
width: 100%;
height: 36px;
line-height: 36px;
padding-left: 10px;
background: none;
border: none;
outline: none;
font-size: 11px;
color: #000;
text-shadow: 1px 1px 0 #faf7f4;
float: left;
z-index: 1;
}
.search input.bttn {
width: 32px;
height: 36px;
cursor: pointer;
padding: 0;
position: absolute;
right: 0;
z-index: 9;
}
/*----- Start menu -----*/
.menu {
position: absolute;
right: 5px;
top: 3px;
}
.menu li {
height: 78px;
width: 77px;
float: left;
text-align: center;
margin-left: 2px;
list-style: none;
background: url(images/menu_icon.png) repeat-x 0 0;
}
.menu li:nth-child(2){
background: url(images/menu_icon.png) no-repeat -78px 0;
}
.menu li:nth-child(3){
background: url(images/menu_icon.png) no-repeat -156px...