cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv


A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

    <title>Mad Logics</title>

    <div id="gradient"></div>
    <div id="card">
        <a href="http://www.sharpaspdeveloper.blogspot.in">
            <img src="http://lh4.googleusercontent.com/-Q496g4B9fZM/AAAAAAAAAAI/AAAAAAAAA-Q/R6lBS2H9CtQ/s512-c/photo.jpg" />

        <a href="http://www.sharpaspdeveloper.blogspot.in">
            <h2>Abhay Makadia</h2>
        <p>.NET Developer in India.</p>
        <p>Interested in Web technologies like HTML5, CSS3, JavaScript,.net, C#, SQL Server, etc.</p>
        <p>Love Blogger and respect All Geeks. ;)</p>
        <span class="left bottom">tel: 97237 72***</span>
        <span class="right bottom">address: India Gujarat</span>
               body {
            margin: 0 auto;
            padding: 0;
            background: #222;

        .left {
            left: 25px;

        .right {
            right: 25px;

        .center {
            text-align: center;

        .bottom {
            position: absolute;
            bottom: 25px;

        #gradient {
            background: #999955;
            background-image: linear-gradient(#DAB046 20%, #D73B25 20%, #D73B25 40%, #C71B25 40%, #C71B25 60%, #961A39 60%, #961A39 80%, #601035 80%);
            margin: 0 auto;
            margin-top: 100px;
            width: 100%;
            height: 150px;

            #gradient:after {
                content: "";
                position: absolute;
                background: #E9E2D0;
                left: 50%;
                margin-top: -67.5px;
                margin-left: -270px;
                padding-left: 20px;
                border-radius: 5px;
                width: 520px;
                height: 275px;
                z-index: -1;

        #card {
            position: absolute;
            width: 450px;
            height: 225px;
            padding: 25px;
            padding-top: 0;
            padding-bottom: 0;
            left: 50%;
            top: 67.5px;
            margin-left: -250px;
            background: #E9E2D0;
            box-shadow: -20px 0 35px -25px black, 20px 0 35px -25px black;
            z-index: 5;

            #card img {
                width: 150px;
                float: left;
                border-radius: 5px;
                margin-right: 20px;
                /*-webkit-filter: sepia(1);
                -moz-filter: sepia(1);
                filter: sepia(1);*/

            #card h2 {
                font-family: courier;
                color: #333;
                margin: 0 auto;
                padding: 0;
                font-size: 15pt;

            #card p {
                font-family: courier;
                color: #555;
                font-size: 13px;

            #card span {
                font-family: courier;

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................