Pricing Table — стиль 69

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

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

Стандарт

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

Бизнес

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

Премиум

$30 per month
  • 70 GB Disk Space
  • 70 Email Accounts
  • 70 GB 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
<span class="month">per month</span>
</div>
<ul class="pricing-content">
<li>50 GB Disk Space</li>
<li>50 Email Accounts</li>
<li>50 GB Monthly Bandwidth</li>
<li>10 Subdomains</li>
<li>15 Domains</li>
</ul>
<a href="#" class="pricingTable-signup">Sign Up</a>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="pricingTable">
<h3 class="title">Business</h3>
<div class="price-value">$20
<span class="month">per month</span>
</div>
<ul class="pricing-content">
<li>60 GB Disk Space</li>
<li>60 Email Accounts</li>
<li>60 GB Monthly Bandwidth</li>
<li>15 Subdomains</li>
<li>20 Domains</li>
</ul>
<a href="#" class="pricingTable-signup">Sign Up</a>
</div>
</div>
</div>
</div>

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

.pricingTable{
padding: 30px 0;
border: 1px solid #043565;
text-align: center;
color: #043565;
position: relative;
transition: all 0.5s ease 0s;
}
.pricingTable:hover{
background: #25ced1;
border-color: #fff;
color: #fff;
}
.pricingTable:before{
content: "";
border-top: 45px solid #043565;
border-bottom: 45px solid transparent;
border-right: 45px solid transparent;
position: absolute;
top: 0;
left: 0;
transition: all 0.5s ease 0s;
}
.pricingTable:hover:before{ border-top-color: #fff; }
.pricingTable:after{
content: "";
border-bottom: 45px solid #043565;
border-top: 45px solid transparent;
border-left: 45px solid transparent;
position: absolute;
bottom: 0;
right: 0;
transition: all 0.5s ease 0s;
}
.pricingTable:hover:after{ border-bottom-color: #fff; }
.pricingTable .title{
font-size: 25px;
font-weight: 700;
text-transform: uppercase;
margin: 0 0 20px 0;
}
.pricingTable .price-value{
font-size: 40px;
margin-bottom: 40px;
}
.pricingTable .month{
display: block;
font-size: 25px;
line-height: 10px;
text-transform: capitalize;
}
.pricingTable .pricing-content{
padding: 20px 0 0;
margin: 0 40px 20px;
list-style: none;
font-size: 16px;
line-height: 40px;
border-top: 1px solid #043565;
position: relative;
transition: all 0.5s ease 0s;
}
.pricingTable:hover .pricing-content{ border-top-color: #fff; }
.pricingTable .pricing-content:before{
content: "f1b3";
font-family: "Font Awesome 5 Free";
font-weight: 900;
width: 70px;
background: #fff;
font-size: 30px;
margin: 0 auto;
position: absolute;
top: -22px;
left: 0;
right: 0;
transition: all 0.5s ease 0s;
}
.pricingTable:hover .pricing-content:before{ background: #25ced1; }
.pricingTable .pricingTable-signup{
display: inline-block;
padding: 7px 30px;
border-radius: 10px;
border: 1px solid #043565;
font-size: 18px;
font-weight: 600;
color: #043565;
transition: all 0.5s ease 0s;
}
.pricingTable:hover .pricingTable-signup{
color: #fff;
border-color: #fff;
}
@media only screen and (max-width: 990px){
.pricingTable{ margin-bottom: 30px; }
}



Теги:
0

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

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