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 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

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

              
                <form action="https://www.actionequals.com/form/TEST?f=Survey" method="post">
        <div class="question">
            How likely are you to recommend our company to a friend or collegue?
        </div>
        <div class="answer">
            <div class='btns'>
                <label>
                    <input name='WouldRecommendNumber' type='radio' value='1' />
                    <span class='btn first'>Never</span>

                </label>
                <label>
                    <input name='WouldRecommendNumber' type='radio' value='2' />
                    <span class='btn'>Not Likely</span>

                </label>
                <label>
                    <input name='WouldRecommendNumber' type='radio' value='3' checked />
                    <span class='btn'>Don't know</span>

                </label>
                <label>
                    <input name='WouldRecommendNumber' type='radio' value='4' />
                    <span class='btn'>Likely</span>

                </label>
                <label>
                    <input name='WouldRecommendNumber' type='radio' value='5' />
                    <span class='btn last'>Most Likely</span>

                </label>
            </div>
        </div>
        <div class="question">
            Overall, how satisfied are you with our products?
            <div class="answer" style="width:400px;">
                <div style="display:table-cell;padding-left:100px;">
                    <input name="Satisfaction" type="radio" value="Very Satisfied" id="very" />
                    <label for="very">Very Satisfied</label>
                </div>
                <div style="display:table-cell;padding-left:100px;">
                    <input name="Satisfaction" type="radio" value="Somewhat Dissatisfied" id="somewhat1" />
                    <label for="somewhat1">Somewhat Dissatisfied</label>
                </div>
            </div>
            <div class="answer" style="width:400px;">
                <div style="display:table-cell;padding-left:100px;">
                    <input name="Satisfaction" type="radio" value="Somewhat Satisfied" id="somewhat2" />
                    <label for="somewhat2">Somewhat Satisfied</label>
                </div>
                <div style="display:table-cell;padding-left:100px;">
                    <input name="Satisfaction" type="radio" value="Very Dissatisfied" id="very2" />
                    <label for="very2">Very Dissatisfied</label>
                </div>
            </div>
            <div class="answer" style="width:400px;">
                <div style="display:table-cell;padding-left:100px;">
                    <input name="Satisfaction" type="radio" value="Neutral" id="neutral" />
                    <label for="neither">Neither satified nor dissatisfied</label>
                </div>
            </div>
        </div>
        <div class="question">
            How would you describe our level of service?
            <div class="answer" style="width:400px;">
                <div style="display:table-cell;padding-left:100px;">
                    <input name="serviceDescription" type="checkbox" value="Responsive" id="responsive" />
                    <label for="responsive">Responsive</label>
                </div>
                <div style="display:table-cell;padding-left:100px;">
                    <input name="serviceDescription" type="checkbox" value="Competent" id="competent" />
                    <label for="competent">Competent</label>
                </div>
            </div>
            <div class="answer" style="width:400px;">
                <div style="display:table-cell;padding-left:100px;">
                    <input name="serviceDescription" type="checkbox" value="Professional" id="professional" />
                    <label for="professional">Professional</label>
                </div>
                <div style="display:table-cell;padding-left:100px;">
                    <input name="serviceDescription" type="checkbox" value="Agreeable" id="agreeable" />
                    <label for="agreeable">Agreeable</label>
                </div>
            </div>
            <div class="answer" style="width:400px;">
                <div style="display:table-cell;padding-left:100px;">
                    <input name="serviceDescription" type="checkbox" value="Effective" id="effective" />
                    <label for="effective">Effective</label>
                </div>
                <div style="display:table-cell;padding-left:100px;">
                    <input name="serviceDescription" type="checkbox" value="Available" id="available" />
                    <label for="available">Available</label>
                </div>
            </div>
        </div>
        <div class="question">
            Do you have any comments about our company?  We value your feedback.
            <div class="answer">
                <textarea name="comments" rows="10" cols="100"></textarea>
            </div>

        </div>
        <input type="submit" value="Done" />
        </form>
              
            
!

CSS

              
                 @import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:300,);

        * {
            box-sizing: border-box;
        }

        body {
            font-family: Roboto Condensed, Helvetica Neue, sans-serif;
            height: 100%;
            width: 100%;
        }

        .answer {
            display: table-row;
            vertical-align: middle;
            margin-top:100px;
        }

        .button-link {
            text-decoration: none;
        }

        .btns {
            background-color: #ff9035;
            background-image: -webkit-linear-gradient(-370deg, #ff5a64 0%, #faa04b 30%, #d2dc69 70%, #0ef49b 100%);
            background-image: -webkit-linear-gradient(350deg, #ff5a64 0%, #faa04b 30%, #d2dc69 70%, #0ef49b 100%);
            background-image: linear-gradient(100deg, #ff5a64 0%, #faa04b 30%, #d2dc69 70%, #0ef49b 100%);
            z-index: 0;
            height: 80px;
            float: none;
            margin: 0 auto;
            width: 900px;
            max-width: 100%;
            border-radius: 40px;
            display: block;
            box-shadow: 0 2px 4px -1px rgba(25, 25, 25, 0.2);
            margin-bottom: 50px;
        }

            .btns input {
                display: none;
            }

            .btns label {
                display: table;
                float: left;
                padding: 0;
                width: 20%;
                height: 100%;
                margin: 0;
                text-align: center;
                border-left: 1px solid rgba(0, 0, 0, 0.05);
            }

                .btns label:first-child {
                    border-left: none;
                    border-radius: 40px 0 0 40px;
                }

                .btns label:last-child {
                    border-radius: 0 40px 40px 0;
                }

            .btns .btn {
                font-size: 19px;
                cursor: pointer;
                width: 100%;
                display: table-cell;
                vertical-align: middle;
                font-weight: 300;
                color: #FFF;
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
                box-shadow: inset 0 30px 20px -20px rgba(255, 255, 255, 0.15);
                -webkit-transition: color 250ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
                transition: color 250ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
            }

                .btns .btn:hover {
                    box-shadow: inset 0 30px 30px -20px rgba(50, 50, 50, 0.02);
                    -webkit-transition: all 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
                    transition: all 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
                }

                .btns .btn:after {
                    content: '\2714';
                    margin-left: -10px;
                    display: inline-block;
                    -webkit-transform: scale(0);
                    transform: scale(0);
                    -webkit-transition: margin 250ms cubic-bezier(0.6, -0.28, 0.735, 0.045) 100ms, -webkit-transform 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
                    transition: margin 250ms cubic-bezier(0.6, -0.28, 0.735, 0.045) 100ms, -webkit-transform 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
                    transition: margin 250ms cubic-bezier(0.6, -0.28, 0.735, 0.045) 100ms, transform 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
                    transition: margin 250ms cubic-bezier(0.6, -0.28, 0.735, 0.045) 100ms, transform 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22), -webkit-transform 250ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
                }

            .btns .first {
                border-radius: 40px 0 0 40px;
            }

            .btns .last {
                border-radius: 0 40px 40px 0;
            }

            .btns input:checked + .btn {
                color: #5f6982;
                text-shadow: none;
                background-image: -webkit-linear-gradient( bottom, rgba(25, 25, 25, 0) 65%, rgba(25, 25, 25, 0.08));
                background-image: -webkit-linear-gradient(bottom, rgba(25, 25, 25, 0) 65%, rgba(25, 25, 25, 0.08));
                background-image: linear-gradient(to top, rgba(25, 25, 25, 0) 65%, rgba(25, 25, 25, 0.08));
                box-shadow: inset 0 10px 50px rgba(25, 25, 25, 0.08);
                -webkit-transition: color 500ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 150ms;
                transition: color 500ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 150ms;
            }

                .btns input:checked + .btn:after {
                    margin-left: 12px;
                    -webkit-transform: scale(1.25);
                    transform: scale(1.25);
                    -webkit-transition: -webkit-transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms, margin 500ms;
                    -webkit-transition: margin 500ms, -webkit-transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms;
                    transition: margin 500ms, -webkit-transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms;
                    transition: transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms, margin 500ms;
                    transition: transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms, margin 500ms, -webkit-transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms;
                }

        .question {
            display:block;
            font-size: 20px;
            font-style: normal;
            font-weight: 300;
            text-decoration: none;
            color: #333e48;
            line-height: 1.25;
            padding: 0 0 24px 0;
        }

        form {
            margin-top: 50px;
            margin-left: 50px;
        }
              
            
!

JS

              
                
              
            
!
999px

Console