@media (max-width: 768px) and (min-width: 320px) {
.main .nav-block .navbar {
display: inline-block;
/* position: absolute; */
/* right: 0; */
float: right; }
.navbar-collapse {
position: absolute;
width: 100%;
left: 0px;
z-index: 10; }
.main .nav-block .navbar .navbar-collapse .navbar-nav,
.navbar {
position: static; }
}
*, *:before, *:after {
box-sizing: inherit;
}
html {
font-size: 62.5%; /* 10px */
}
body {
font-size: 200%; /* 20px */
}
@media all and (min-width: 1200px) {
html {font-size: 39.0625%} /* 1200/1920 * 62.5 */
}
@media all and (min-width: 1440px) {
html {font-size: 46.875%}
}
@media all and (min-width: 1600px) {
html {font-size: 52.0833333333%}
}
@media all and (min-width: 1920px) {
html {font-size: 62.5%}
}
var state = { 'page_id': 1, 'user_id': 5 };
var title = 'Hello World';
var url = 'hello-world.html';
history.pushState(state, title, url);
<?
$sql = $db->query("SELECT * FROM `dle_viplats` order by id desc limit 10 ");
while ($row = $db->get_row($sql)) {
?>
<tr>
<td><?=$row["news-id"]?></td>
<td><?=date("d-m-y", $row["tim"])?></td>
<td><span class="short-title" style="font-size: 13px;"><a href="[xfvalue_ssylka-na-igru]"><?=$row["title"]?></a></span></td>
<td><b style="color: #4c6f1b;">+[xfvalue_summa]</b></td>
</tr>
<?
}?>
$(this).data("id")
$(document).on('click', '#ajax-book', function(){
var self = this;
$.ajax({
url: 'inc/ajax-book.php',
method: 'GET',
dataType : "json",
data: {
video_id:$(self).data("id")
},
success: function(data) {
console.log(data);
data: {video_id:$(self).data(id)}
}
});
});
<ul class="menu">
<li class="menu__item">
<div class="menu__wrapper">
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
</div>
</li>
<li class="menu__item">
<div class="menu__wrapper">
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
</div>
</li>
<li class="menu__item">
<div class="menu__wrapper">
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
</div>
</li>
<li class="menu__item">
<div class="menu__wrapper">
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
</div>
</li>
<li class="menu__item">
<div class="menu__wrapper">
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
<a href="" class="menu__link"><img src="" alt="" class="menu__image"></a>
</div>
</li>
</ul>