cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
                  <header>
      <h2>Pricing Table Design</h3>
    </header>
    
    <section>
      <div>
        <span>Our plans</span>
      </div>
      <div>
        <ul>
          <li>Basic Package <br />
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star-half-empty"></i>
            <i class="fa fa-star-o"></i>
          </li>
          <li><span>$</span>120<span>/site</span></li>
          <li>Technical Support</li>
          <li>Static Site</li>
          <li>Free Hosting</li>
          <li>Free Videos</li>
          <li><a href="#">Get Info<i class="fa fa-angle-double-right"></i></a></li>
        </ul>
        <ul>
          <li>Premium Package <br />
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </li>
          <li><span>$</span>150<span>/site</span><div>Limited</div></li>
          <li>Full Technical Support</li>
          <li>Dynamic Site</li>
          <li>Free Domain Name</li>
          <li>Free Videos</li>
          <li><a href="#">Get Info<i class="fa fa-angle-double-right"></i></a></li>
        </ul>        
      </div>
    </section>

    <footer>
      <p>Pricing Lists</p>
    </footer>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Droid+Sans);

/*------------------------------------------------------------------
  							RESET STYLES
-------------------------------------------------------------------*/

body, h2, h3, p, ul, li{
	margin:0;
}

ul, li{
	list-style:none;
	padding:0;
}

a{	
	display: inline-block;
	text-decoration: none;
	color:black;
}

/*------------------------------------------------------------------
  							MAIN STYLES
-------------------------------------------------------------------*/

body{
	font-family: 'Droid Sans', sans-serif;
	background-color: #fff;
}

header{
	height:300px;
	background: #796054;
	position:relative; 
}

header > h2{
	text-align: center;
	margin: 0 auto;
	width: 100%;
	height: 30px;
	padding: 20px 0;
	line-height: 30px;
	position:absolute;
	top:115px;
	color:#A8DD4D;
	font-size: 3em;
}

section{
	height: 500px;
	display: flex;
}

section > div:first-child{
	flex-basis:10%;
	background: #A8DD4D;
}

section div:first-child span{
	color:#796054;
	font-weight: 700;
	font-size: 1.5em;
	display: block;
	position: relative;
	margin-top: 235px;
	text-align: center;
	transform:rotate(-90deg);
	position: relative;
	padding-bottom:5px; 
	border-bottom: 1px solid #A37C5C;
}

section div:first-child span:after{
	content:'';
	position: absolute;
	bottom:0;
	left:0;
	width:30%;
	border-bottom: 3px solid #796054; 
}

section div:nth-child(2){
	flex-basis:90%;
	display: flex;
	justify-content:center;
    align-items:center;
}

section div:nth-child(2){
	box-shadow:1px 0 2px #ccc;
}

section div:nth-child(2) > ul{
	flex-basis:33%;
    text-align: center;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}

section div:nth-child(2) li:nth-child(1){
	font-weight: 700;
	color: #A37C5C;
}

section div:nth-child(2) i{
	font-size:.8em;
	color:#A8DD4D;
}

section div:nth-child(2) li:last-child i{
	color:black;
}

section div:nth-child(2) li:nth-child(2){
	font-size: 2.5em;
	color:#755638;
	font-weight: 700;	
}

section div:nth-child(2) li:nth-child(2) > span:nth-child(1){
	font-size: .8em;
	padding-right: 1px;
	position: relative;
	top:-10px;
	font-weight: 300;	
}

section div:nth-child(2) li:nth-child(2) > span:nth-child(2){
	font-weight: 300;
	font-size: .4em;
	padding-left: 1px;
	position: relative;
	top:0;	
}

section div:nth-child(2) > ul:first-child{
	margin-right:8%;
}

section div:nth-child(2) > ul:last-child > li{
    position: relative;
    overflow: hidden;
}

section div:nth-child(2) > ul:last-child div{
	color:#796054;
    background: #A8DD4D;
    -webkit-transform:rotate(45deg);
   -moz-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    -o-transform:rotate(45deg);
    transform:rotate(45deg);
    padding:0.25em 3em;
    top:1.35em;
    right:-2.5em;
    font-size: .4em;
    position: absolute;
}

section div:nth-child(2) li:first-child{
    border-top:2px solid #755638;
    font-size:1.5em;
}

section div:nth-child(2) li{
    padding: 15px;
}

section div:nth-child(2) li:nth-child(even){
    background:#ededed;
}

section div:nth-child(2) li:last-child{
    background: #A37C5C; 
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}

section div:nth-child(2) a{
    text-decoration: none;
    background: #755638;
    display: block;
    width:40%;
    margin:0 auto;
    padding:10px;
    color: black;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
}

section div:nth-child(2) > ul:last-child{
    box-shadow: 4px 4px 5px -5px black, -4px -4px 5px -5px black;
}

section div:nth-child(2) a i{
    margin-left: 3px;
}

section div:nth-child(2) li:last-child a:hover i{
    position: relative;
    left:3px;    
}

footer {
	height:40px;
	text-align: center;
	background: #796054; 
}

footer > p{
	color:#A8DD4D;
	line-height: 40px;
}
            
          
!
999px
Loading ..................

Console