<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Various styles and inspiration for responsive, flexbox-based HTML pricing tables" />
<meta name="author" content="Codrops" />
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<section class="pricing-section bg-10">
<!--<h2 class="pricing-section__title">Rabten</h2>-->
<div class="pricing pricing--rabten">
<div class="pricing__item">
<div class="icon icon--home"></div>
<h3 class="pricing__title">Paketan</h3>
<p class="pricing__sentence">Ekonomis</p>
<div class="pricing__price">
<span class="pricing__anim pricing__anim--1">
<span class="pricing__currency">IDR</span>20000
</span>
<span class="pricing__anim pricing__anim--2">
<span class="pricing__period">per m2</span>
</span>
</div>
<ul class="pricing__feature-list">
<button class="accordion">Gambar Arsitektur</button>
<div class="panel">
<pj>Denah Bangunan<br></pj>
<pj>Tampak Bangunan<br></pj>
<pj>Potongan<br></pj>
<pj>Rencana Atap<br></pj>
<pj>Gambar 3D<br></pj>
</div>
<button class="accordion">Gambar Struktur</button>
<div class="panel">
<pj>Tanpa Gambar Struktur</pj>
</div>
<button class="accordion">Gambar MEP</button>
<div class="panel">
<pj>Denah Pipa Air Bersih<br></pj>
<pj>Denah Pipa Air Kotor<br></pj>
</div>
</ul>
<a class="pricing__action" href="http://rumart.weebly.com/desain-arsitektur.html">Pesan</a>
</div>
<div class="pricing__item">
<div class="pricing-tag pricing-tag--standard">RAB</div>
<div class="icon icon--store"></div>
<h3 class="pricing__title">Paketan</h3>
<p class="pricing__sentence">Standard</p>
<div class="pricing__price">
<span class="pricing__anim pricing__anim--1">
<span class="pricing__currency">IDR</span>30000
</span>
<span class="pricing__anim pricing__anim--2">
<span class="pricing__period">per m2</span>
</span>
</div>
<ul class="pricing__feature-list">
<button class="accordion">Gambar Arsitektur</button>
<div class="panel">
<pj>Denah Bangunan<br></pj>
<pj>Tampak Bangunan<br></pj>
<pj>Potongan<br></pj>
<pj>Rencana Kusen<br></pj>
<pj>Rencana Atap<br></pj>
<pj>Gambar 3D<br></pj>
</div>
<button class="accordion">Gambar Struktur</button>
<div class="panel">
<pj>Denah Pondasi<br></pj>
<pj>Denah Kolom<br></pj>
<pj>Denah Balok<br></pj>
<pj>Denah Plat<br></pj>
</div>
<button class="accordion">Gambar MEP</button>
<div class="panel">
<pj>Denah Pipa Air Bersih<br></pj>
<pj>Denah Pipa Air Kotor<br></pj>
</div>
</ul>
<a class="pricing__action" href="http://rumart.weebly.com/desain-arsitektur.html">Pesan</a>
</div>
<div class="pricing__item">
<div class="pricing-tag pricing-tag--standard">RAB</div>
<div class="icon icon--apartment"></div>
<h3 class="pricing__title">Paketan</h3>
<p class="pricing__sentence">Lengkap</p>
<div class="pricing__price">
<span class="pricing__anim pricing__anim--1">
<span class="pricing__currency">IDR</span>40000
</span>
<span class="pricing__anim pricing__anim--2">
<span class="pricing__period">per m2</span>
</span>
</div>
<ul class="pricing__feature-list">
<button class="accordion">Gambar Arsitektur</button>
<div class="panel">
<pj>Denah Bangunan<br></pj>
<pj>Tampak Bangunan<br></pj>
<pj>Potongan<br></pj>
<pj>Rencana Kusen<br></pj>
<pj>Rencana Atap<br></pj>
<pj>Rencana Plafon<br></pj>
<pj>Rencana Lantai<br></pj>
<pj>Detail Arsitektur<br></pj>
<pj>Gambar 3D<br></pj>
</div>
<button class="accordion">Gambar Struktur</button>
<div class="panel">
<pj>Denah Pondasi<br></pj>
<pj>Denah Kolom<br></pj>
<pj>Denah Balok<br></pj>
<pj>Denah Plat<br></pj>
<pj>Detail Penulangan<br></pj>
</div>
<button class="accordion">Gambar MEP</button>
<div class="panel">
<pj>Denah Pipa Air Bersih<br></pj>
<pj>Denah Pipa Air Kotor<br></pj>
<pj>Denah Pipa Air Panas<br></pj>
<pj>Denah Titik Lampu<br></pj>
<pj>Denah Titik Stop Kontak<br></pj>
<pj>Denah Titik AC & Telephone<br></pj>
</div>
</ul>
<a class="pricing__action" href="http://rumart.weebly.com/desain-arsitektur.html">Pesan</a>
</div>
</div>
</section>
</div>
<!-- /container -->
<script>
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].onclick = function(){
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
}
}
</script>
</body>
</html>
/* Common styles */
.pricing {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: center;
justify-content: center;
width: 100%;
margin: 0 auto 3em;
}
.pricing__item {
position: relative;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-align-items: stretch;
align-items: stretch;
text-align: center;
-webkit-flex: 0 1 330px;
flex: 0 1 330px;
}
.pricing__action {
color: inherit;
border: none;
background: none;
}
.pricing__action:focus {
outline: none;
}
/* Individual styles */
/* Rabten */
.pricing--rabten .pricing__item {
font-family: 'Roboto', sans-serif;
padding: 2em 4em;
cursor: default;
color: #262b38;
max-width: 320px;
}
.pricing--rabten .pricing__item:nth-child(2) {
border-right: 1px solid rgba(139, 144, 157, 0.18);
border-left: 1px solid rgba(139, 144, 157, 0.18);
}
.pricing--rabten .pricing__title {
font-size: 1em;
margin: 1.5em 0 0;
}
.pricing--rabten .icon {
font-size: 2.5em;
color: #8b909d;
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.pricing--rabten .pricing__item:hover .icon {
color: #E03E3E;
}
.pricing--rabten .pricing__price {
font-size: 2em;
font-weight: bold;
margin: 0.5em 0 0.75em;
overflow: hidden;
}
.pricing--rabten .pricing__currency {
font-size: 0.5em;
vertical-align: super;
}
.pricing--rabten .pricing__period {
font-size: 0.35em;
color: #8b909d;
}
.pricing--rabten .pricing__anim {
display: inline-block;
position: relative;
}
.pricing--rabten .pricing__item:hover .pricing__anim {
-webkit-animation: moveUp 0.4s forwards;
animation: moveUp 0.4s forwards;
-webkit-animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
.pricing--rabten .pricing__item:hover .pricing__anim--2 {
-webkit-animation-delay: 0.05s;
animation-delay: 0.05s;
}
@-webkit-keyframes moveUp {
50% { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
51% { opacity: 0; -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
52% { opacity: 1; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
}
@keyframes moveUp {
50% { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
51% { opacity: 0; -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
52% { opacity: 1; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
}
.pricing--rabten .pricing__sentence {
font-weight: bold;
margin: 0 0 1em 0;
padding: 0 0 0.5em;
color: #8b909d;
}
.pricing--rabten .pricing__feature-list {
font-size: 0.85em;
margin: 0;
padding: 0.25em 0 2.5em;
list-style: none;
text-align: center;
color: #8b909d;
}
button.accordion {
font-family: 'Roboto', sans-serif;
font-size: 100%;
margin: 3%;
padding: 1% 0 1%;
list-style: none;
text-align: center;
color: #8b909d;
background-color: transparent;
cursor: pointer;
border: none;
outline: none;
transition: 0.4s;
}
button.accordion.active, button.accordion:hover {
background-color: transparent;
}
button.accordion:after {
font-family: FontAwesome;
content: '\f067';
font-size: 100%;
color: #8b909d;
float: right;
margin-left: 5px;
}
button.accordion.active:after {
content: "\f068";
}
div.panel {
padding: 0 10%;
background-color: white;
max-height: 0;
overflow: hidden;
transition: 0.6s ease-in-out;
opacity: 0;
}
pj {
font-family: 'Roboto', sans-serif;
color:#8b909d;
font-size: 100%;
}
div.panel.show {
opacity: 1;
max-height: 500px;
}
.pricing--rabten .pricing__action {
font-weight: 400;
margin-top: auto;
padding: 1em 2em;
color: #fff;
border-radius: 30px;
background: #e03e3e;
-webkit-transition: background-color 0.3s;
transition: background-color 0.3s;\
}
.pricing--rabten .pricing__action:hover,
.pricing--rabten .pricing__action:focus {
background-color: #c53737;
text-decoration: none;
}
@media screen and (max-width: 60em) {
.pricing--rabten .pricing__item {
max-width: none;
width: 90%;
flex: none;
border: none !important;
opacity: 1 !important;
}
}
.icon {
font-family: FontAwesome;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon--home::before {
content: "\f02d";
}
.icon--apartment::before {
content: "\f219";
}
.icon--store::before {
content: "\f0f2";
}
.pricing-tag {
position: absolute;
height: 25px;
width: 63px;
line-height: 25px;
right: 0;
bottom: 20px;
transform: rotate(-50deg) translate(-37px, -74px) skewx(40deg);
-ms-transform: rotate(-50deg) translate(-37px, -74px) skewx(40deg); /* IE 9 */
-webkit-transform: rotate(-50deg) translate(-37px, -74px) skewx(40deg); /* Safari */
font-size: 100%;
font-weight: 100;
color: #fff;
background-color: #262b38;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}