Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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="services">
        <div class="container">
            <h2 class="services_title">Our Services</h2>
            <div class="services_text">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,</div>

            <div class="services_wrapper">
                <div class="services_item">

                    <div class="services_item_img"><i class="fas fa-mobile-alt"></i></div>

                    <div class="services_item_title">Research</div>
                    <div class="services_item_descr">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum iti atque corrupti quos.</div>

                    <button class="services_item_btn">READ MORE</button>

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

CSS

              
                .services
    min-height: 1414px
    background-color: #e4fdf9
    &_title
    &_text
    &_wrapper
        display: flex
        justify-content: space-between
    &_item
        width: 370px
        height: 438px
        background-color: #ffffff
        color: #212121
        text-align: center
        transition: .3s linear
        &:hover
            background-color: red
            transform: scale(1.02)
            color: #fff
        &:hover .services_item_btn
            color: #fff
            border: 2px solid #ffffff
        &_img
            margin-top: 58px
            font-size: 60px
        &_title
            margin-top: 30px
            font-family: "Open Sans"
            font-size: 20px
            font-weight: 600
        &_descr
            padding: 26px 49px 0 50px
            font-family: "Open Sans"
            font-size: 15px
            font-weight: 400
        &_btn
            margin-top: 44px
            width: 150px
            height: 55px
            background: none
            border: 2px solid #212121
            font-family: "Open Sans"
            font-size: 20px
            font-weight: 600
            text-transform: uppercase
            &:hover
                cursor: pointer
    
              
            
!

JS

              
                
              
            
!
999px

Console