Pricing Table — стиль 74

Подробное описание и демонстрация работы таблицы цен под номером №74 для библиотеки Bootstrap. Html и CSS код для реализации блока table price на сайте как на изображении.

Демо Таблицы цен — стиль 74

Стандарт

$10
  • 50GB Disk Space
  • 50 Email Accounts
  • 50GB Monthly Bandwidth
  • 10 Subdomains
  • 15 Domains

Бизнес

$20
  • 60GB Disk Space
  • 60 Email Accounts
  • 60GB Monthly Bandwidth
  • 15 Subdomains
  • 20 Domains

Премиум

$30
  • 70GB Disk Space
  • 70 Email Accounts
  • 70GB Monthly Bandwidth
  • 20 Subdomains
  • 25 Domains
html разметка для реализации блока прайсов

<div class="container">
<div class="row">
<div class="col-md-4 col-sm-6">
<div class="pricingTable">
<h3 class="title">Standard</h3>
<div class="price-value">$10</div>
<ul class="pricing-content">
<li>50GB Disk Space</li>
<li>50 Email Accounts</li>
<li>50GB Monthly Bandwidth</li>
<li>10 Subdomains</li>
<li>15 Domains</li>
</ul>
<a href="#" class="pricingTable-signup">Order Now</a>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="pricingTable green">
<h3 class="title">Business</h3>
<div class="price-value">$20</div>
<ul class="pricing-content">
<li>60GB Disk Space</li>
<li>60 Email Accounts</li>
<li>60GB Monthly Bandwidth</li>
<li>15 Subdomains</li>
<li>20 Domains</li>
</ul>
<a href="#" class="pricingTable-signup">Order Now</a>
</div>
</div>
</div>
</div>

css разметка для реализации блока прайсов

.demo{ background: #002333; }
.pricingTable{
padding: 40px 0;
margin: 50px 40px 30px 20px;
background: #fff;
text-align: center;
z-index: 1;
position: relative;
}
.pricingTable:before{
content: "";
border-right: 20px solid #9e534d;
border-top: 20px solid transparent;
border-left: 20px solid transparent;
position: absolute;
top: 20px;
left: -40px;
}
.pricingTable:after{
content: "";
width: 100%;
height: 100%;
background: #fff;
position: absolute;
bottom: 0;
left: 0;
transform: skew(0deg, 7deg);
transform-origin: left bottom 0;
z-index: -1;
}
.pricingTable .title{
padding: 20px 0;
margin: 0 40px 20px 0;
background: #d46c6d;
font-size: 22px;
font-weight: bold;
color: #fff;
letter-spacing: 1px;
text-transform: uppercase;
z-index: 1;
position: relative;
}
.pricingTable .title:before{
content: "";
width: 100%;
height: 100%;
background: #d46c6d;
position: absolute;
top: 0;
left: 0;
transform: skew(17deg, 0deg);
transform-origin: left bottom 0;
z-index: -1
}
.pricingTable .title:after{
content: "";
border-top: 64px solid #d46c6d;
border-right: 200px solid #ce0009;
position: absolute;
top: 0;
right: 0;
z-index: -1;
}
.pricingTable .price-value{
width: 80px;
height: 80px;
line-height: 80px;
border-radius: 50%;
background: #fff;
border: 2px solid #ce0009;
font-size: 30px;
font-weight: 600;
color: #ce0009;
position: absolute;
top: -40px;
right: -40px;
}
.pricingTable .pricing-content{
list-style: none;
padding: 20px 0;
margin-bottom: 20px;
font-size: 17px;
font-weight: 600;
letter-spacing: 1px;
line-height: 35px;
color: #ce0009;
border-top: 1px solid #d46c6d;
border-bottom:  1px solid #d46c6d;
position: relative;
}
.pricingTable .pricing-content:before,
.pricingTable .pricing-content:after{
content: "";
width: 50%;
height: 2px;
background: #ce0009;
position: absolute;
top: -2px;
left: 0;
transition: all 0.3s ease 0s;
}
.pricingTable .pricing-content:after{
top: auto;
left: auto;
bottom: -2px;
right: 0;
}
.pricingTable:hover .pricing-content:before,
.pricingTable:hover .pricing-content:after{ width: 100%; }
.pricingTable .pricingTable-signup{
display: inline-block;
padding: 10px 30px;
font-size: 17px;
font-weight: 600;
color: #ce0009;
border: 2px solid #ce0009;
transition: all 0.5s ease 0s;
}
.pricingTable:hover .pricingTable-signup{
background: #ce0009;
color: #fff;
}
.pricingTable.green:before{ border-right-color: #798b59; }
.pricingTable.green .title,
.pricingTable.green .title:before{ background: #a7c572; }
.pricingTable.green .title:after{
border-top-color: #a7c572;
border-right-color: #4d6236;
}
.pricingTable.green .price-value{
border-color: #4d6236;
color: #4d6236;
}
.pricingTable.green .pricing-content{
color: #4d6236;
border-top-color: #a7c572;
border-bottom-color: #a7c572;
}
.pricingTable.green .pricing-content:before,
.pricingTable.green .pricing-content:after{ background: #4d6236; }
.pricingTable.green .pricingTable-signup{
border-color: #4d6236;
color: #4d6236;
}
.pricingTable.green:hover .pricingTable-signup{
background: #4d6236;
color: #fff;
}
.pricingTable.blue:before{ border-right-color: #7295a8; }
.pricingTable.blue .title,
.pricingTable.blue .title:before{ background: #3da5d9; }
.pricingTable.blue .title:after{
border-top-color: #3da5d9;
border-right-color: #25739d;
}
.pricingTable.blue .price-value{
border-color: #25739d;
color: #25739d;
}
.pricingTable.blue .pricing-content{
color: #25739d;
border-top-color: #3da5d9;
border-bottom-color: #3da5d9;
}
.pricingTable.blue .pricing-content:before,
.pricingTable.blue .pricing-content:after{ background: #25739d; }
.pricingTable.blue .pricingTable-signup{
border-color: #25739d;
color: #25739d;
}
.pricingTable.blue:hover .pricingTable-signup{
background: #25739d;
color: #fff;
}
@media only screen and (max-width: 990px){
.pricingTable{ margin-bottom: 50px; }
}
@media only screen and (max-width: 767px){
.pricingTable{ margin-bottom: 80px; }
.pricingTable:after{
transform: skew(0deg, 3deg);
transform-origin: left bottom 0;
}
}



Теги:
0

Оставить своё мнение

Ваш e-mail не будет опубликован. Обязательные поля помечены *