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

              
                <!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Contact Page with Experts support</title>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

   </head>

<body>
    <div class="container">
        <h2>Get in Touch with our experts</h2>
        <div class="contact-info">
            <form action="">
                <h3>Write Us</h3>
                <input type="text" name="fullname" id="fullname" placeholder="Full Name *" required>
                <input type="email" name="email" id="email" placeholder="Email *" required>
                <input type="text" name="company" id="company" placeholder="Company *" required>
                <label for="customercheck">Are you an existing customer? *</label>
                <div class="customer-check-wrap">
                    <span>Yes</span>
                    <input type="radio" name="customercheck" id="customercheck" value="yes" required>
                    <span>No</span><input type="radio" name="customercheck" id="customercheck" value="no" required>

                </div>
                <textarea name="msg" id="msg" cols="30" rows="10" placeholder="Your Message Here..."></textarea>
                <button type="submit">Send</button>
            </form>
            <div class="details">
                <h3>Meet our experts</h3>
                <p>Live support available for 6am-5pm Mon-Fri
                    <p>
                        <div class="expert-wrapper">
                            <div class="expert">
                                <img src="https://upload.wikimedia.org/wikipedia/commons/4/4e/A_profile.jpg" />
                                <p>Expert_Name and Expertese</p>
                            </div>
                            <div class="expert">
                                <img src="https://upload.wikimedia.org/wikipedia/commons/4/4e/A_profile.jpg" />
                                <p>Expert_Name and Expertese</p>
                            </div>
                            <div class="expert">
                                <img src="https://upload.wikimedia.org/wikipedia/commons/4/4e/A_profile.jpg" />
                                <p>Expert_Name and Expertese</p>
                            </div>


                        </div>

            </div>

        </div>

    </div>
</body>

</html>
              
            
!

CSS

              
                  @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
        body {
            padding-top: 10vh;
        }
        
        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: auto;
            font-family: 'Ubuntu', sans-serif;
            width: 90vw;
            padding: 15px;
        }
        
        h2 {
            color: #403333;
            font-size: 25px;
        }
        
        .contact-info {
            display: flex;
            width: 90%;
        }
        
        form {
            display: flex;
            flex-direction: column;
            width: 50%;
            text-align: center;
            color: #403333;
            border-radius: 5px;
            padding: 7px;
        }
        
        .details {
            font-family: 'Ubuntu', sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 50%;
            color: rgb(41, 37, 37);
            border-radius: 5px;
            margin-top: 72px;
            box-shadow: 0 0 15px rgb(67, 72, 77);
            margin-left: 15px;
            height: 300px;
        }
        
       
        
        .details h3 {
            text-align: center;
        }
        
        .details p {
            font-size: 12px;
            margin-left: 10px;
        }
        
        .details h3+p {
            font-size: 15px;
        }
                       
        .expert {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 12px;
            text-align: center;
        }
        
        .expert-wrapper {
            padding: 0 25px;
            display: flex;
        }
        .expert img {
            width: 70px;
            height: 70px;
            border-radius: 50px;
            margin: 5px;
        }
        
        input {
            margin: 5px 15px;
            height: 25px;
            box-shadow: 0 0 15px grey;
        }
        
        form label {
            font-size: 15px;
            margin: 5px 15px;
            text-align: left;
        }
        
        .customer-check-wrap {
            display: flex;
            align-items: center;
            margin: 0 15px;
            font-size: 13px;
        }
        
        textarea {
            height: 150px;
            margin: 5px 15px;
            box-shadow: 0 0 15px grey;
        }
        
        button {
            margin: 5px 15px;
            width: 80px;
            background: #454648b9;
            padding: 3px 10px;
            border: 0;
            border-radius: 5px;
            color: white;
            font-size: 15px;
            cursor: pointer;
            box-shadow: 0 0 15px rgb(67, 72, 77);
            align-self: center;
        }
        
        button:hover {
            color: rgb(63, 59, 59);
        }
        
        @media screen and (max-width:780px) {
            .contact-info {
                flex-direction: column;
                width: 90%;
            }
            form {
                width: 100%;
                margin-bottom: 5px;
            }
            .details {
                width: 100%;
                margin-top: 25px;
                margin-left: 0;
            }
        }
              
            
!

JS

              
                
              
            
!
999px

Console