JSFiddle - React, Tailwind, and code Playground
by raskalbass
HTML
<script src="http://www.sitehere.ru/examples/29.06.2014/js/jquery.adaptive-modal.js"></script>
<div class="container">
<div class="main">
<p>Lorem</p>
<div class="btns"> <a href="#form" style="background: #1ABC9C;" data-toggle="adaptive-modal">Открыть модальное окно</a>
<div id="form">
<h1>Вход на сайт</h1>
<form>
<input type="text" placeholder="Логин">
<input type="password" placeholder="Пароль">
<div class="btns"> <a href="#" class="am-trigger-close">Войти</a>
</div>
</form>
</div>
</div>
</div>
</div>
CSS
.clearfix {
*zoom: 1;
}
.clearfix:before, .clearfix:after {
display: table;
line-height: 0;
content:"";
}
.clearfix:after {
clear: both;
}
body, html {
padding: 0;
margin: 0;
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
font-family: Arial, sans-serif;
color: #fff;
background: #f8d135;
}
a, a:visited {
color: #888;
text-decoration: none;
}
a:hover, a:active {
color: #333;
}
h1, h2, h3 {
font-family: Arial, sans-serif;
}
h1 {
font-size: 2.5em;
font-weight: 300;
}
h2 {
font-size: 1.5em;
font-weight: 300;
}
h3 {
font-size: 1.2em;
font-weight: 400;
}
.nav-top {
background: #fff;
background: rgba(255, 255, 255, 0.1);
text-transform: uppercase;
width: 100%;
font-size: 0.65em;
line-height: 2.6;
height: 36px;
}
.nav-top a {
padding: 0.41em 1em;
letter-spacing: 0.1em;
color: #444;
display: inline-block;
}
.nav-top a:hover {
background: rgba(255, 255, 255, 0.95);
color: #333;
}
.nav-social {
float: left;
padding: 0.6em 0.6em 0 0.6em;
}
.nav-social span {
margin-right: 0.5em;
}
.nav-top span.right {
float: right;
}
.nav-top span.right a {
float: left;
display: block;
}
.menu {
display: block;
text-align: center;
padding: 2em 0;
margin-bottom: 3em;
}
.menu a {
border: 4px solid #eee;
border-radius: 5px;
background: rgba(255, 255, 255, 1);
display: inline-block;
font-size: 1em;
line-height: 100%;
margin: 0 5px;
padding: 0.7em;
text-decoration: none;
opacity: 0.7;
}
.menu a.active, .menu a:hover {
opacity: 1;
background: #eee;
font-weight: bold;
}
@media screen and (max-width: 25em) {
.nav-icon span {
display: none;
}
}
.am-overlay {
height: 100%;
width: 100%;
background: rgba(255, 255, 255, 0.98);
opacity: 0;
position: fixed;
left: 0;
right: 0;
top: 0;
...