git push test mastergit push prod mastergit push test my-feature:masterно что до разработчика или верстальщика?
<div class="test">
<div class="img"></div>
</div>.test {
width: 800px;
height: 200px;
border: 10px solid #bebebe;
border-bottom: none;
margin: 100px auto;
position: relative;
}
.test:after {
content: '';
display: block;
width: 100%;
height: 10px;
background: #bebebe;
position: absolute;
left: 0;
bottom: 0;
}
.img {
width: 200px;
height: 400px;
background: yellow;
margin: -100px auto 0;
}
<style>
.container{
background-color: green;
color: #ffffff;
float: left;
width: 100%;
}
.container:after {
display: block;
content: '';
clear: both;
}
.b {
font-weight: bold;
font-size: 20px;
}
.l {
font-size: 15px;
}
li {
float: left;
text-align: center;
width: 100px;
border-left: 1px solid #fff;
box-sizing: border-box;
}
li:last-child {
border-right: 1px solid #fff;
}
ul {
display: block;
margin: auto;
list-style-type: none;
width: 500px;
}
</style>
<div class="container">
<ul>
<li><p class="b">42</p><p class="l">Lorem</p></li>
<li><p class="b">125</p><p class="l">Lorem</p></li>
<li><p class="b">15</p><p class="l">Lorem</p></li>
<li><p class="b">99</p><p class="l">lorem</p></li>
<li><p class="b">25</p><p class="l">Lorem</p></li>
</ul>
</div>
$('.filter-btn').toggleClass('open'); и $('.filter-btn').removeClass('open'); $(window).scroll(function() {
var top = $(document).scrollTop();
if (top < 300) $(".top_nav").removeClass('fixed');
else $(".top_nav").addClass('fixed');
});
.fixed{
position: fixed;
//дополнительные стили
}