Skip to content

Instantly share code, notes, and snippets.

@pagemashine
Last active May 16, 2017 14:00
Show Gist options
  • Save pagemashine/7667cc7f22843d8abfbba13f63ef1629 to your computer and use it in GitHub Desktop.
Save pagemashine/7667cc7f22843d8abfbba13f63ef1629 to your computer and use it in GitHub Desktop.
benefits 1
.b-benefits>.benefits__items>(.benefits__item>(.benefits__img>img[src=/images/benefits-$.png][alt="Преимущество-$"])+.benefits__text)*5
<style>
.b-benefits {}
.b-benefits:after {
content: "";
display: table;
clear: both;
}
.b-benefits .benefits__item {
display: inline-block;
vertical-align: top;
margin-right: -0.275em;
padding-right: 20px;
width: 20%;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.b-benefits .benefits__img {
margin-bottom: 10px;
}
.b-benefits .benefits__img img {
max-width: 100%;
}
.b-benefits .benefits__text {
font-size: 15px;
font-weight: bold;
color: #222;
text-transform: uppercase;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment