cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


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.

              <!-- This HTML pulls in the default styles, javascript and HTML that Marketo provides. This HTML is for demo purposes only. You do not need to include this HTML. All you need to add is the CSS -->
<link href="https://www.dropbox.com/s/bhi9sbpr1mnrrph/forms2.css?dl=1" rel="stylesheet">
<form class="mktoForm mktoHasWidth mktoLayoutAbove" id="mktoForm_3866" novalidate="novalidate" style="font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51); width: 169px;">
    <style type="text/css">
        .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
            color: #fff;
            border: 1px solid #75ae4c;
            padding: 0.4em 1em;
            font-size: 1em;
            background-color: #99c47c;
            background-image: -webkit-gradient(linear, left top, left bottom, from(#99c47c), to(#75ae4c));
            background-image: -webkit-linear-gradient(top, #99c47c, #75ae4c);
            background-image: -moz-linear-gradient(top, #99c47c, #75ae4c);
            background-image: linear-gradient(to bottom, #99c47c, #75ae4c);
        .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
            border: 1px solid #447f19;
        .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus {
            outline: none;
            border: 1px solid #447f19;
        .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:active {
            background-color: #75ae4c;
            background-image: -webkit-gradient(linear, left top, left bottom, from(#75ae4c), to(#99c47c));
            background-image: -webkit-linear-gradient(top, #75ae4c, #99c47c);
            background-image: -moz-linear-gradient(top, #75ae4c, #99c47c);
            background-image: linear-gradient(to bottom, #75ae4c, #99c47c);
    <div class="mktoFormRow">
        <div class="mktoFieldDescriptor mktoFormCol" style="margin-bottom: 10px;">
            <div class="mktoOffset" style="width: 10px;"></div>
            <div class="mktoFieldWrap">
                <label for="my-field" class="mktoLabel mktoHasWidth" style="width: 100px;">
                    <div class="mktoAsterix">*</div>Radio</label>
                <div class="mktoGutter mktoHasWidth" style="width: 10px;"></div>
                <div class="mktoRadioList mktoHasWidth" style="width: 150px;">
                    <input name="my-field" id="mktoRadio_46079_0" value="Radio 1" type="radio" class="mktoField">
                    <label for="mktoRadio_46079_0">Radio 1</label>
                    <input name="my-field" id="mktoRadio_46079_1" value="Radio 2" type="radio" class="mktoField">
                    <label for="mktoRadio_46079_1">Radio 2</label>
                <div class="mktoClear"></div>
            <div class="mktoClear"></div>
        <div class="mktoClear"></div>

	<script src="https://www.dropbox.com/s/h6bdz9keo3geb3l/forms2.min.js?dl=1"></script>
              @import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

.mktoRadioList input {
    opacity: 0;
    position: absolute;   

.mktoRadioList input, .mktoRadioList label {
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
    cursor: pointer;

.mktoRadioList label {
    position: relative;

.mktoRadioList input + label:before {
    content: '';
    background: #fff;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    padding: 2px;
    margin-right: 10px;
    text-align: center;

.mktoRadioList input + label:before {
    border-radius: 50%;

.mktoRadioList input:checked + label:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    color: #bbb;

.mktoRadioList input:focus + label {
  outline: 1px solid #ddd; /* focus style */

body .mktoForm .mktoRadioList > label {

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................