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

              
                <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css">
<div class="displayFJustifyCAlignC width100P height100VH">
        <div class="width80P marginAuto">
            <div class="displayFJustifyC flexWrap">
                <div class="paddingLR15 cCardProfile">
                    <div class="marginTB15 cardProfile">
                        <div class="cDetails cDetailsSocial width100P">
                            <h3 class="textCenter colorp1">Social Media</h3>
                            <div class="displayFJustifyC marginT20">
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-facebook-f"></i></a>
                                </div>
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-instagram"></i></a>
                                </div>
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-twitter"></i></a>
                                </div>
                            </div>
                        </div>
                        <div>
                            <img src="https://github.com/emmywebgiart/css_creative_cards_section_effect_glassmorphism/blob/master/img/person1.png?raw=true" alt="">
                        </div>
                        <div class="paddingLR15 marginTN40">
                            <div class="cDetails">
                                <h3 class="textCenter colorp1">Hattie McKenzie</h3>
                                <h4 class="textCenter colorp2 marginT5">Montreal, QC</h4>
                                <div class="displayFJustifySB marginT20">
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp3">323</h3>
                                        <p class="textCenter colorp2">Projects</p>
                                    </div>
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp3">500+</h3>
                                        <p class="textCenter colorp2">Hours</p>
                                    </div>
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp3">24/7</h3>
                                        <p class="textCenter colorp2">Support</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="paddingLR15 cCardProfile">
                    <div class="marginTB15 cardProfile">
                        <div class="cDetails cDetailsSocial width100P">
                            <h3 class="textCenter colorp1">Social Media</h3>
                            <div class="displayFJustifyC marginT20">
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-facebook-f"></i></a>
                                </div>
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-instagram"></i></a>
                                </div>
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-twitter"></i></a>
                                </div>
                            </div>
                        </div>
                        <div>
                            <img src="https://github.com/emmywebgiart/css_creative_cards_section_effect_glassmorphism/blob/master/img/person2.png?raw=true" alt="">
                        </div>
                        <div class="paddingLR15 marginTN40">
                            <div class="cDetails">
                                <h3 class="textCenter colorp1">Bruce Mars</h3>
                                <h4 class="textCenter colorp2 marginT5">Atlanta, U.S.</h4>
                                <div class="displayFJustifySB marginT20">
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp4">850</h3>
                                        <p class="textCenter colorp2">Projects</p>
                                    </div>
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp4">800+</h3>
                                        <p class="textCenter colorp2">Hours</p>
                                    </div>
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp4">24/7</h3>
                                        <p class="textCenter colorp2">Support</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="paddingLR15 cCardProfile">
                    <div class="marginTB15 cardProfile">
                        <div class="cDetails cDetailsSocial width100P">
                            <h3 class="textCenter colorp1">Social Media</h3>
                            <div class="displayFJustifyC marginT20">
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-facebook-f"></i></a>
                                </div>
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-instagram"></i></a>
                                </div>
                                <div class="marginLR15">
                                    <a href="#"><i class="fab fa-twitter"></i></a>
                                </div>
                            </div>
                        </div>
                        <div>
                            <img src="https://github.com/emmywebgiart/css_creative_cards_section_effect_glassmorphism/blob/master/img/person3.png?raw=true" alt="">
                        </div>
                        <div class="paddingLR15 marginTN40">
                            <div class="cDetails">
                                <h3 class="textCenter colorp1">Annie Spratt</h3>
                                <h4 class="textCenter colorp2 marginT5">Bucharest, RO</h4>
                                <div class="displayFJustifySB marginT20">
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp5">550</h3>
                                        <p class="textCenter colorp2">Projects</p>
                                    </div>
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp5">500+</h3>
                                        <p class="textCenter colorp2">Hours</p>
                                    </div>
                                    <div class="marginLR15">
                                        <h3 class="textCenter colorp5">24/7</h3>
                                        <p class="textCenter colorp2">Support</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
}

:root {
    --colorp1: #404040;
    --colorp2: #8a8a8a;
    --colorp3: #f11058;
    --colorp4: #25c8ec;
    --colorp5: #7022d6;
}

.colorp1 {
    color: var(--colorp1);
}

.colorp2 {
    color: var(--colorp2);
}

.colorp3 {
    color: var(--colorp3);
}

.colorp4 {
    color: var(--colorp4);
}

.colorp5 {
    color: var(--colorp5);
}

.textCenter {
    text-align: center;
}

.displayFJustifyCAlignC {
    display: flex;
    justify-content: center;
    align-items: center;
}

.displayFJustifyC {
    display: flex;
    justify-content: center;
}

.displayFJustifySB {
    display: flex;
    justify-content: space-between;
}

.flexWrap {
    flex-wrap: wrap;
}

.width100P {
    width: 100%;
}

.width80P {
    width: 80%;
}

.height100VH {
    height: 100vh;
}

.marginAuto {
    margin: auto;
}

.marginTB15 {
    margin: 15px 0px;
}

.marginT20 {
    margin-top: 20px;
}

.marginLR15 {
    margin: 0px 15px;
}

.marginTN40 {
    margin-top: -40px;
}

.paddingLR15 {
    padding: 0px 15px;
}

.cCardProfile {}

.cardProfile {
    width: 350px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, .1);
    border-radius: 10px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.cardProfile:before {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
}

.cCardProfile:nth-child(1) .cardProfile::before {
    background: #fdb32b;
}

.cCardProfile:nth-child(2) .cardProfile::before {
    background: #dbdbdb;
}

.cCardProfile:nth-child(3) .cardProfile::before {
    background: #0a75a3;
}

.cardProfile:hover:before {
    top: 0;
}

.cardProfile img {
    width: 100%;
    border-radius: 10px;
}

.cDetails {
    border-radius: 10px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    padding: 15px;
}

.cDetailsSocial {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    transition: .5s;
}

.cardProfile:hover .cDetailsSocial {
    top: 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console