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.

            
              <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />

<h1 class="demo-title">Material responsive pricing tables</h1>

<div class="pricing-table">
    <div class="pricing-option">
        <i class="material-icons">important_devices</i>
        <h1>Ui design</h1>
        <hr />
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente harum voluptatum, sit cum voluptatibus inventore quae qui provident eveniet dicta at, quibusdam ipsam iusto reprehenderit hic saepe nesciunt sed illo.</p>
        <hr />
        <div class="price">
            <div class="front">
                <span class="price">199 <b>$</b></span>
            </div>
            <div class="back">
                <a href="#" class="button">Purchase now</a>
            </div>
        </div>
    </div>
    
    <div class="pricing-option">
        <i class="material-icons">perm_identity</i>
        <h1>Ux design</h1>
        <hr />
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente harum voluptatum, sit cum voluptatibus inventore quae qui provident eveniet dicta at, quibusdam ipsam iusto reprehenderit hic saepe nesciunt sed illo.</p>
        <hr />
        <div class="price">
            <div class="front">
                <span class="price">399 <b>$</b></span>
            </div>
            <div class="back">
                <a href="#" class="button">Purchase now</a>
            </div>
        </div>
    </div>
    
    <div class="pricing-option">
        <i class="material-icons">art_track</i>
        <h1>Print design</h1>
        <hr />
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente harum voluptatum, sit cum voluptatibus inventore quae qui provident eveniet dicta at, quibusdam ipsam iusto reprehenderit hic saepe nesciunt sed illo.</p>
        <hr />
        <div class="price">
            <div class="front">
                <span class="price">999 <b>$</b></span>
            </div>
            <div class="back">
                <a href="#" class="button">Purchase now</a>
            </div>
        </div>
    </div>
</div>
            
          
!
            
              // fonts
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:400,300,300italic,400italic,600,700,600italic,700italic);

// demo
body {
    font-family: "Josefin Sans", sans-serif;
    line-height: 1;
    padding: 20px;
    height: 100%;
    background: #eee;
}
.demo-title {
    text-align:center;
    font-size: 3rem;
    margin-bottom: 50px;
}

// variables
$icon-size: 3rem;
$icon-color: #D8D8D8;
$main-color: #F85E6A;

// Pricing table
.pricing-table {
    display: table;
    width: 100%;
    .pricing-option {
        width: 28%;
        background:white;
        float: left;
        padding: 2%;
        text-align: center;
        transition: all .3s ease-in-out;
        &:nth-child(even) {
            margin: 0 2%;
        }
        &:hover {
            cursor: pointer;
            box-shadow: 0px 2px 30px rgba(0,0,0,0.3);
            transform: scale(1.04);
            i, h1, span, b {
                color: $main-color;
            }
            .front {
                opacity: 0;
                visibility: hidden;
            }
            .back {
                opacity: 1 !important;
                visibility: visible !important;
                a.button {
                    transform: translateY(0px) !important;
                }
            }
        }
        hr {
            border:none;
            border-bottom: 1px solid #F0F0F0;
        }
        i {
            font-size: $icon-size;
            color: $icon-color;
            transition: all .3s ease-in-out;
        }
        h1 {
            margin: 10px 0;
            color: #212121;
            transition: all .3s ease-in-out;
        }
        p {
            color: #999;
            padding: 0 10px;
            line-height: 1.3;
        }
        .price {
            position: relative;
            .front {
                span.price {
                    font-size: 2rem;
                    text-transform: uppercase;
                    margin-top: 20px;
                    display: block;
                    font-weight: 700;
                    position: relative;
                    b {
                        position: absolute;
                        font-size: 1rem;
                        margin-left: 2px;
                        font-weight: 600;
                    }
                }
            }
            .back {
                opacity: 0;
                visibility: hidden;
                transition: all .3s ease-in-out;
                a.button {
                    background: $main-color;
                    padding: 15px 20px;
                    display: inline-block;
                    text-decoration: none;
                    color: white;
                    position: absolute;
                    font-size: 13px;
                    top: -5px;
                    left: 0;
                    right: 0;
                    width: 150px;
                    margin: auto;
                    text-transform: uppercase;
                    transform: translateY(20px);
                    transition: all .3s ease-in-out;
                    &:hover {
                        background: darken($main-color, 10%);
                    }
                }
            }
        }
    }
}


// Responsive
@media screen and (max-width: 600px) {
    .pricing-table {
        .pricing-option {
            padding: 5%;
            width: 90%;
            &:nth-child(even) {
                margin: 30px 0 !important;
            }
        }
    }
}
            
          
!
999px
Loading ..................

Console