Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <section class="">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-12 col-lg-8">
                <div class="lista">
                <ol>
                    <li>
                       <div class="card card-html">
                           <div class="card-header">
                               <i class="fab fa-html5"></i> HTML
                           </div>
                           <div class="card-body">
                               Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequatur, debitis deserunt iste labore modi, nihil non, qui quos ratione rem velit. Aliquid et, ipsam numquam obcaecati quisquam vel voluptatibus?
                           </div>
                           <div class="card-footer">
                           <div class="clearfix">
                               <div class="float-left">
                                   <div class="progress">
                                       <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
                                   </div>
                               </div>
                               <div class="float-right">
                                   <button class="btn btn-success">Botão de Acesso</button>
                               </div>
                           </div>
                           </div>
                       </div>
                    </li>
                    <li>
                        <div class="card card-css">
                            <div class="card-header">
                                <i class="fab fa-css3-alt"></i>  CSS
                            </div>
                            <div class="card-body">
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequatur, debitis deserunt iste labore modi, nihil non, qui quos ratione rem velit. Aliquid et, ipsam numquam obcaecati quisquam vel voluptatibus?
                            </div>
                            <div class="card-footer">
                                <div class="clearfix">
                                    <div class="float-left">
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </div>
                                    <div class="float-right">
                                        <button class="btn btn-success">Botão de Acesso</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="card card-js">
                            <div class="card-header">
                                <i class="fab fa-js-square"></i> JAVASCRIPT
                            </div>
                            <div class="card-body">
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequatur, debitis deserunt iste labore modi, nihil non, qui quos ratione rem velit. Aliquid et, ipsam numquam obcaecati quisquam vel voluptatibus?
                            </div>
                            <div class="card-footer">
                                <div class="clearfix">
                                    <div class="float-left">
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </div>
                                    <div class="float-right">
                                        <button class="btn btn-success">Botão de Acesso</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="card card-bootstrap">
                            <div class="card-header">
                                <i class="fab fa-bimobject"></i> BOOTSTRAP
                            </div>
                            <div class="card-body">
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequatur, debitis deserunt iste labore modi, nihil non, qui quos ratione rem velit. Aliquid et, ipsam numquam obcaecati quisquam vel voluptatibus?
                            </div>
                            <div class="card-footer">
                                <div class="clearfix">
                                    <div class="float-left">
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </div>
                                    <div class="float-right">
                                        <button class="btn btn-success">Botão de Acesso</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>

                        <div class="card card-php">
                            <div class="card-header">
                                <i class="fab fa-php"></i>  PHP
                            </div>
                            <div class="card-body">
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequatur, debitis deserunt iste labore modi, nihil non, qui quos ratione rem velit. Aliquid et, ipsam numquam obcaecati quisquam vel voluptatibus?
                            </div>
                            <div class="card-footer">
                                <div class="clearfix">
                                    <div class="float-left">
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </div>
                                    <div class="float-right">
                                        <button class="btn btn-success">Botão de Acesso</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>

                </ol>
                </div>
            </div>
        </div>
    </div>
</section>
              
            
!

CSS

              
                 body{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        background-color: #f5f6f1;
    }
    .lista{
        justify-content: center;
    }
    .lista ol{
        list-style: none;
        counter-reset: my-counter;
        margin: 0rem;
        padding:  0rem 0rem 0rem 1.5rem;
    }
    .lista li{
        counter-increment: my-counter;
        border-left: solid 2px #cdcdcd;
      /*  border-bottom: solid 2px #cdcdcd; */
        padding-top: 2rem;
        padding-bottom: 1rem;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto;
        grid-template-areas: "icon:text";
        align-items: start;
    }
    .lista li:before {
        content: counter(my-counter);
        font-weight: bold;
        background-color: #cdcdcd;
        border: 3px solid #f5f6f1;
        border-radius: 50px;
        font-size: 20px;
        padding: 0.8rem 1.4rem;
        color: #fff;
        margin-left: -2.0rem;
        margin-right: auto;
        grid-area: icon;
    }
    .card{
        grid-area: text;
        margin-left: 4rem;
        border-radius: 0px;
        box-shadow: 0 0 5px 1px #ddd;
        margin-top: 0.5rem;
    }
    .card-html .card-header:after {
        right: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-right-color: #e65127;
        border-width: 10px;
        top: 10px;
    }
    .card-css .card-header:after {
        right: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-right-color: #379ad6;
        border-width: 10px;
        top: 10px;
    }
    .card-js .card-header:after {
        right: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-right-color: #f2bf26;
        border-width: 10px;
        top: 10px;
    }
    .card-php .card-header:after {
        right: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-right-color: #8b92bd;
        border-width: 10px;
        top: 10px;
    }
    .card-bootstrap .card-header:after {
        right: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-right-color: #7952b3;
        border-width: 10px;
        top: 10px;
    }
    .card .card-header{
        background-color: #8abe3e;
        color: #fff;
        font-size: 22px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
    .btn-success{
        background-color: #8abe3e;
        color: #fff;
        border-color: #8abe3e;
        border-radius: 0px;
    }
    .card-css .card-header, .card-css .btn-success{
        background-color: #379ad6;
        border-color: #379ad6;
    }
    .card-html .card-header, .card-html .btn-success{
        background-color: #e65127;
        border-color: #e65127;
    }
    .card-js .card-header, .card-js .btn-success{
        background-color: #f2bf26;
        border-color: #f2bf26;
    }
    .card-bootstrap .card-header, .card-bootstrap .btn-success{
        background-color: #7952b3;
        border-color: #7952b3;
    }
    .card-php .card-header, .card-php .btn-success{
        background-color: #8b92bd;
        border-color: #8b92bd;
    }

              
            
!

JS

              
                
              
            
!
999px

Console