<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:Condensed" />
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,800' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div id="container">
<div class="whole">
<div class="type">
<p>Simple</p>
</div>
<div class="plan">
<div class="header">
<span>$</span>29<sup>99</sup>
<p class="month">per month</p>
</div>
<div class="content">
<ul>
<li>15 Email Accounts</li>
<li>100GB Space</li>
<li>1 Domain Name</li>
<li>500GB Bandwidth</li>
</ul>
</div>
<div class="price">
<a href="#" class="bottom"><p class="cart">Add to cart</p></a>
</div>
</div>
</div>
<div class="whole">
<div class="type standard">
<p>Standard</p>
</div>
<div class="plan">
<div class="header">
<span>$</span>49<sup>99</sup>
<p class="month">per month</p>
</div>
<div class="content">
<ul>
<li>15 Email Accounts</li>
<li>100GB Space</li>
<li>1 Domain Name</li>
<li>500GB Bandwidth</li>
</ul>
</div>
<div class="price">
<a href="#" class="bottom"><p class="cart">Add to cart</p></a>
</div>
</div>
</div>
<div class="whole ">
<div class="type ultimate">
<p>Ultimate</p>
</div>
<div class="plan">
<div class="header">
<span>$</span>79<sup>99</sup>
<p class="month">per month</p>
</div>
<div class="content">
<ul>
<li>15 Email Accounts</li>
<li>100GB Space</li>
<li>1 Domain Name</li>
<li>500GB Bandwidth</li>
</ul>
</div>
<div class="price">
<a href="#" class="bottom"><p class="cart">Add to cart</p<</a>
</div>
</div>
</div>
</body>
</html>
body{
font-family:'Open Sans';
font-style:condensed;
background: #5b2072; /* Old browsers */
background: radial-gradient(center, ellipse cover, #5b2072 0%, #5d1566 50%, #251a41 100%); /* FF3.6+ */
background: gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#5b2072), color-stop(50%,#5d1566), color-stop(100%,#251a41)); /* Chrome,Safari4+ */
background: radial-gradient(center, ellipse cover, #5b2072 0%,#5d1566 50%,#251a41 100%); /* Chrome10+,Safari5.1+ */
background: radial-gradient(center, ellipse cover, #5b2072 0%,#5d1566 50%,#251a41 100%); /* Opera 12+ */
background: radial-gradient(center, ellipse cover, #5b2072 0%,#5d1566 50%,#251a41 100%); /* IE10+ */
background: radial-gradient(ellipse at center, #5b2072 0%,#5d1566 50%,#251a41 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5b2072', endColorstr='#251a41',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
a{
font-size: 18px;
font-family:'Open Sans';
color: white;
text-decoration: none;
}
input:focus,textarea:focus,select:focus{
border:1px solid #fafafa;
box-shadow:0 0 6px #007eff;
box-shadow:0 0 5px #007eff;
box-shadow:0 0 5px #007eff;
outline: none;
}
sup{
font-size: 40px;
}
ul{
list-style: none;
font-size: 15px;
font-family:'Open Sans';
color: #9095aa;
padding: 0px;
margin: 0px;
}
li{
border-bottom: 1px solid #494a5a;
padding: 0px;
margin: 0px;
text-align: center;
height: 52px;
line-height: 52px;
}
#container{
width: 100%;
text-align:center;
}
.whole{
display: inline-block;
}
.type{
width: 300px;
border-radius: 5px 5px 0px 0px;
background-color: #eac80d;
height: 62px;
border-bottom: 3px solid #bfa30c;
}
.type p{
font-family:'Open Sans';
font-weight: 800;
font-size: 29px;
text-transform: uppercase;
color: white;
text-align: center;
padding-top: 10px;
}
.plan{
width: 300px;
background-color: #2b2937;
border-radius: 0px 0px 5px 5px;
font-family:'Open Sans';
font-style:condensed;
font-size: 90px;
color: white;
text-align: center;
}
.standard{
background-color: #1abc9c;
border-bottom: 3px solid #18937b;
}
.ultimate{
background-color: #5d6a9a;
border-bottom: 3px solid #474f6f;
}
.header{
border-bottom: 1px solid #494a5a;
padding-bottom: 39px;
}
.header span{
font-size: 32px;
}
.month{
font-size: 14px;
color: #575757;
padding: 0px;
margin: -10px;
}
.price{
height:80px;
}
.cart{
color:white;
position: relative;
top: 16px;
}
.bottom{
}
.content{
}
.login_c{
width:500px;
background-color:#2b2937;
height:300px;
margin: 0 auto;
margin-top:40px;
border-radius:5px;
}
.login_c input{
width: 350px;
height: 40px;
border: 1px solid #494a5a;
margin-bottom:20px;
border-radius:5px;
padding-left: 10px;
}
.login{
background-color: #BC4B1A;
border-bottom: 3px solid #7C3618;
width:100%;
}
.top{
margin-top:35px;
}
.nodisplay{
opacity: 0.1;
}
.selected{
background-color:#1F1B36;
margin:0px;
padding:0px;
}
$(".header").click(function () {
var $this = $(this);
$this.closest(".whole").find(".content").slideToggle();
});
$(".whole").on("click", "a", function () {
event.preventDefault();
$(".plan").removeClass("selected");
$(this).closest(".whole").find(".plan").addClass("selected");
});
This Pen doesn't use any external CSS resources.