Skip to content

Instantly share code, notes, and snippets.

Created November 12, 2014 18:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/65c6913e0dfbd45f322d to your computer and use it in GitHub Desktop.
Save anonymous/65c6913e0dfbd45f322d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.pricing-table {
margin: 0 0 rem-calc(20) 0;
border: 0;
background-color: #f0f0f0;
}
.pricing-table ul {
margin: 0;
padding: 0;
list-style: none;
}
.pricing-table .title {
background-color: #181818;
color: #ffffff;
padding: rem-calc(15 20);
font-size: 20px;
text-align: center;
font-weight: 400;
}
.pricing-table .price {
background-color: #212121;
color: #ffffff;
}
.pricing-table .price > .currency {
font-size: 30px;
}
.pricing-table .price > .integer-part {
font-size: 70px;
}
.pricing-table .price > .decimal-part {
font-size: 30px;
}
.pricing-table .price > .time {
font-size: 30px;
}
.pricing-table .description {
padding: ;
background-color: ;
color: ;
text-align: ;
line-height: ;
font-weight: ;
}
.pricing-table .bullet-item {
color: #333333;
padding: rem-calc(15);
text-align: left;
font-size: rem-calc(14);
font-weight: 400;
border-bottom: 1px solid #c3c3c3;
}
</style>
</head>
<body>
<div class="pricing-table">
<ul>
<li class="title"><h3>Professional</h3></li>
<li class="price">
<span class="currency">$</span>
<span class="integer-part">49</span>
<span class="decimal-part">99</span>
<span class="time">monthly</span>
</li>
<li class="description">Pricing tables are a critical part </li>
<li class="bullet-item">hello world</li>
</ul>
</div>
<script id="jsbin-source-css" type="text/css">@pricing-table-margin: 0 0 rem-calc(20) 0;
@pricing-table-bg: #f0f0f0;
@pricing-table-border: 0;
@pricing-title-bg: #181818;
@pricing-title-color: #fff;
@pricing-title-padding: rem-calc(15 20);
@pricing-title-font-size: 20px;
@pricing-title-align: center;
@pricing-title-font-weight: 400;
@pricing-price-bg: #212121;
@pricing-price-color: #FFF;
@pricing-price-currency-font-size: 30px;
@pricing-price-currency-color: #FFF;
@pricing-price-integer-font-size: 70px;
@pricing-price-integer-color: #FFF;
@pricing-price-decimal-font-size: 30px;
@pricing-price-decimal-color: #FFF;
@pricing-price-time-font-size: 30px;
@pricing-price-time-color: #FFF;
@pricing-desc-bg: transparent;
@pricing-desc-padding: 0;
@pricing-desc-font-size: 14px;
@pricing-desc-color: #525252;
@pricing-desc-text-align: left;
@pricing-desc-font-weight: 400;
@pricing-desc-line-height: 1.4;
@pricing-desc-border-bottom: 1px solid #c3c3c3;
@pricing-item-color: #333;
@pricing-item-padding: rem-calc(15);
@pricing-item-text-align: left;
@pricing-item-font-size:rem-calc(14);
@pricing-item-font-weight: 400;
@pricing-item-border-bottom: 1px solid #c3c3c3;
.pricing-table{
margin: @pricing-table-margin;
border: @pricing-table-border;
background-color: @pricing-table-bg;
ul{
margin: 0;
padding: 0;
list-style: none;
}
.title{
background-color: @pricing-title-bg;
color: @pricing-title-color;
padding: @pricing-title-padding;
font-size: @pricing-title-font-size;
text-align: @pricing-title-align;
font-weight: @pricing-title-font-weight;
}
.price{
background-color: @pricing-price-bg;
color: @pricing-price-color;
> .currency{
font-size: @pricing-price-currency-font-size;
}
> .integer-part{
font-size: @pricing-price-integer-font-size;
}
> .decimal-part{
font-size: @pricing-price-decimal-font-size;
}
> .time{
font-size: @pricing-price-time-font-size;
}
}
.description{
padding: ;
background-color: ;
color: ;
text-align: ;
line-height: ;
font-weight: ;
}
.bullet-item{
color: @pricing-item-color;
padding: @pricing-item-padding;
text-align: @pricing-item-text-align;
font-size: @pricing-item-font-size;
font-weight: @pricing-item-font-weight;
border-bottom: @pricing-item-border-bottom;
}
}</script>
</body>
</html>
.pricing-table {
margin: 0 0 rem-calc(20) 0;
border: 0;
background-color: #f0f0f0;
}
.pricing-table ul {
margin: 0;
padding: 0;
list-style: none;
}
.pricing-table .title {
background-color: #181818;
color: #ffffff;
padding: rem-calc(15 20);
font-size: 20px;
text-align: center;
font-weight: 400;
}
.pricing-table .price {
background-color: #212121;
color: #ffffff;
}
.pricing-table .price > .currency {
font-size: 30px;
}
.pricing-table .price > .integer-part {
font-size: 70px;
}
.pricing-table .price > .decimal-part {
font-size: 30px;
}
.pricing-table .price > .time {
font-size: 30px;
}
.pricing-table .description {
padding: ;
background-color: ;
color: ;
text-align: ;
line-height: ;
font-weight: ;
}
.pricing-table .bullet-item {
color: #333333;
padding: rem-calc(15);
text-align: left;
font-size: rem-calc(14);
font-weight: 400;
border-bottom: 1px solid #c3c3c3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment