Created
February 24, 2016 13:10
-
-
Save AleksejDix/b9c2ab6eebfc48fd28d0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="page"> | |
<ul class="list-media"> | |
<li class="list-media__item"> | |
<div class="flag flag--top"> | |
<div class="flag__media"> <img src="https://cdn.siroop.ch/media/images/sized/ZfV81H_AQ49u4D0pql3ikw.200x200.jpg"/></div> | |
<div class="flag__body"> | |
<div class="product__title"></div> | |
<div class="product__top-feature"></div> | |
<div class="product__price">ab <span class="price__currensy">CHF </span><strong class="price__amount">99.99 </strong></div> | |
</div> | |
</div> | |
</li> | |
</ul> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.page{ | |
font-family: sans-serif; | |
} | |
strong{ | |
font-weight:bold; | |
} | |
.flag { | |
display: table; | |
width: 100%; | |
&__media, | |
&__body { | |
display: table-cell; | |
vertical-align: middle; | |
.flag--top & { | |
vertical-align: top; | |
} | |
} | |
&__media { | |
padding-right: 10px; | |
img { | |
display: block; | |
max-width: none; | |
} | |
} | |
&__body { | |
width: 100%; | |
} | |
} | |
.price{ | |
font-size: 30px; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page { | |
font-family: sans-serif; | |
} | |
strong { | |
font-weight: bold; | |
} | |
.flag { | |
display: table; | |
width: 100%; | |
} | |
.flag__media, | |
.flag__body { | |
display: table-cell; | |
vertical-align: middle; | |
} | |
.flag--top .flag__media, | |
.flag--top .flag__body { | |
vertical-align: top; | |
} | |
.flag__media { | |
padding-right: 10px; | |
} | |
.flag__media img { | |
display: block; | |
max-width: none; | |
} | |
.flag__body { | |
width: 100%; | |
} | |
.price { | |
font-size: 30px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="page"> | |
<ul class="list-media"> | |
<li class="list-media__item"> | |
<div class="flag flag--top"> | |
<div class="flag__media"> <img src="https://cdn.siroop.ch/media/images/sized/ZfV81H_AQ49u4D0pql3ikw.200x200.jpg"/></div> | |
<div class="flag__body"> | |
<div class="product__title"></div> | |
<div class="product__top-feature"></div> | |
<div class="product__price">ab <span class="price__currensy">CHF </span><strong class="price__amount">99.99 </strong></div> | |
</div> | |
</div> | |
</li> | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment