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 method="post" enctype="multipart/form-data" id="gform_4" action="/health-hub/modules/cultural-humility/privilege-exercise/">
  <div class="gform_body">
    <ul id="gform_fields_4" class="gform_fields top_label form_sublabel_below description_below">
      <li id="field_4_3" class="gfield field_sublabel_below field_description_below gfield_visibility_visible"><label class="gfield_label">Where do you think you fall on the scale of privilege?</label>
        <div class="ginput_container ginput_container_radio">
          <ul class="gfield_radio" id="input_4_3">
            <li class="gchoice_4_3_0"><input name="input_3" type="radio" value="-10" id="choice_4_3_0"><label for="choice_4_3_0" id="label_4_3_0">-10</label></li>
            <li class="gchoice_4_3_1"><input name="input_3" type="radio" value="-9" id="choice_4_3_1"><label for="choice_4_3_1" id="label_4_3_1">-9</label></li>
            <li class="gchoice_4_3_2"><input name="input_3" type="radio" value="-8" id="choice_4_3_2"><label for="choice_4_3_2" id="label_4_3_2">-8</label></li>
            <li class="gchoice_4_3_3"><input name="input_3" type="radio" value="-7" id="choice_4_3_3"><label for="choice_4_3_3" id="label_4_3_3">-7</label></li>
            <li class="gchoice_4_3_4"><input name="input_3" type="radio" value="-6" id="choice_4_3_4"><label for="choice_4_3_4" id="label_4_3_4">-6</label></li>
            <li class="gchoice_4_3_5"><input name="input_3" type="radio" value="-5" id="choice_4_3_5"><label for="choice_4_3_5" id="label_4_3_5">-5</label></li>
            <li class="gchoice_4_3_6"><input name="input_3" type="radio" value="-4" id="choice_4_3_6"><label for="choice_4_3_6" id="label_4_3_6">-4</label></li>
            <li class="gchoice_4_3_7"><input name="input_3" type="radio" value="-3" id="choice_4_3_7"><label for="choice_4_3_7" id="label_4_3_7">-3</label></li>
            <li class="gchoice_4_3_8"><input name="input_3" type="radio" value="-2" id="choice_4_3_8"><label for="choice_4_3_8" id="label_4_3_8">-2</label></li>
            <li class="gchoice_4_3_9"><input name="input_3" type="radio" value="-1" id="choice_4_3_9"><label for="choice_4_3_9" id="label_4_3_9">-1</label></li>
            <li class="gchoice_4_3_10"><input name="input_3" type="radio" value="0" id="choice_4_3_10"><label for="choice_4_3_10" id="label_4_3_10">0</label></li>
            <li class="gchoice_4_3_11"><input name="input_3" type="radio" value="1" id="choice_4_3_11"><label for="choice_4_3_11" id="label_4_3_11">1</label></li>
            <li class="gchoice_4_3_12"><input name="input_3" type="radio" value="2" id="choice_4_3_12"><label for="choice_4_3_12" id="label_4_3_12">2</label></li>
            <li class="gchoice_4_3_13"><input name="input_3" type="radio" value="3" id="choice_4_3_13"><label for="choice_4_3_13" id="label_4_3_13">3</label></li>
            <li class="gchoice_4_3_14"><input name="input_3" type="radio" value="4" id="choice_4_3_14"><label for="choice_4_3_14" id="label_4_3_14">4</label></li>
            <li class="gchoice_4_3_15"><input name="input_3" type="radio" value="5" id="choice_4_3_15"><label for="choice_4_3_15" id="label_4_3_15">5</label></li>
            <li class="gchoice_4_3_16"><input name="input_3" type="radio" value="6" id="choice_4_3_16"><label for="choice_4_3_16" id="label_4_3_16">6</label></li>
            <li class="gchoice_4_3_17"><input name="input_3" type="radio" value="7" id="choice_4_3_17"><label for="choice_4_3_17" id="label_4_3_17">7</label></li>
            <li class="gchoice_4_3_18"><input name="input_3" type="radio" value="8" id="choice_4_3_18"><label for="choice_4_3_18" id="label_4_3_18">8</label></li>
            <li class="gchoice_4_3_19"><input name="input_3" type="radio" value="9" id="choice_4_3_19"><label for="choice_4_3_19" id="label_4_3_19">9</label></li>
            <li class="gchoice_4_3_20"><input name="input_3" type="radio" value="10" id="choice_4_3_20"><label for="choice_4_3_20" id="label_4_3_20">10</label></li>
          </ul>
        </div>
      </li>
      <li id="field_4_1" class="gfield field_sublabel_below field_description_below gfield_visibility_visible gsurvey-survey-field " style="display: none;"><label class="gfield_label">Untitled Survey Field</label>
        <div class="ginput_container ginput_container_likert">
          <table class="gsurvey-likert" id="input_4_1">
            <thead>
              <tr>
                <th scope="col" class="gsurvey-likert-row-label"></th>
                <th scope="col" class="gsurvey-likert-choice-label">Yes</th>
                <th scope="col" class="gsurvey-likert-choice-label">No</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td data-label="" class="gsurvey-likert-row-label">My parents worked nights and weekends.</td>
                <td data-label="Yes" class="gsurvey-likert-choice"><input name="input_1.1" type="radio" value="glikertrowea423492:glikertcol136aa84b3" id="choice_4_1_1_1" disabled=""></td>
                <td data-label="No" class="gsurvey-likert-choice"><input name="input_1.1" type="radio" value="glikertrowea423492:glikertcol194fd576c" id="choice_4_1_1_2" disabled=""></td>
              </tr>
              <tr>
                <td data-label="" class="gsurvey-likert-row-label">I some other things.</td>
                <td data-label="Yes" class="gsurvey-likert-choice"><input name="input_1.2" type="radio" value="glikertrow86436039:glikertcol136aa84b3" id="choice_4_1_2_1" disabled=""></td>
                <td data-label="No" class="gsurvey-likert-choice"><input name="input_1.2" type="radio" value="glikertrow86436039:glikertcol194fd576c" id="choice_4_1_2_2" disabled=""></td>
              </tr>
              <tr>
                <td data-label="" class="gsurvey-likert-row-label">More statement.</td>
                <td data-label="Yes" class="gsurvey-likert-choice"><input name="input_1.3" type="radio" value="glikertrow5f96b67a:glikertcol136aa84b3" id="choice_4_1_3_1" disabled=""></td>
                <td data-label="No" class="gsurvey-likert-choice"><input name="input_1.3" type="radio" value="glikertrow5f96b67a:glikertcol194fd576c" id="choice_4_1_3_2" disabled=""></td>
              </tr>
              <tr>
                <td data-label="" class="gsurvey-likert-row-label">There is more here.</td>
                <td data-label="Yes" class="gsurvey-likert-choice"><input name="input_1.4" type="radio" value="glikertrowca460675:glikertcol136aa84b3" id="choice_4_1_4_1" disabled=""></td>
                <td data-label="No" class="gsurvey-likert-choice"><input name="input_1.4" type="radio" value="glikertrowca460675:glikertcol194fd576c" id="choice_4_1_4_2" disabled=""></td>
              </tr>
              <tr>
                <td data-label="" class="gsurvey-likert-row-label">Fifth row</td>
                <td data-label="Yes" class="gsurvey-likert-choice"><input name="input_1.5" type="radio" value="glikertrowbdce6331:glikertcol136aa84b3" id="choice_4_1_5_1" disabled=""></td>
                <td data-label="No" class="gsurvey-likert-choice"><input name="input_1.5" type="radio" value="glikertrowbdce6331:glikertcol194fd576c" id="choice_4_1_5_2" disabled=""></td>
              </tr>
            </tbody>
          </table>
        </div>
      </li>
    </ul>
  </div>
  <div class="gform_footer top_label"> <input type="submit" id="gform_submit_button_4" class="gform_button button" value="Submit" onclick="if(window[&quot;gf_submitting_4&quot;]){return false;}  window[&quot;gf_submitting_4&quot;]=true;  " onkeypress="if( event.keyCode == 13 ){ if(window[&quot;gf_submitting_4&quot;]){return false;} window[&quot;gf_submitting_4&quot;]=true;  jQuery(&quot;#gform_4&quot;).trigger(&quot;submit&quot;,[true]); }">
    <input type="hidden" class="gform_hidden" name="is_submit_4" value="1">
    <input type="hidden" class="gform_hidden" name="gform_submit" value="4">

    <input type="hidden" class="gform_hidden" name="gform_unique_id" value="">
    <input type="hidden" class="gform_hidden" name="state_4" value="WyJbXSIsIjUzZDI1ZTdhZDhjYjNjMDYxMGM4NjA5YTg4MzViZmYxIl0=">
    <input type="hidden" class="gform_hidden" name="gform_target_page_number_4" id="gform_target_page_number_4" value="0">
    <input type="hidden" class="gform_hidden" name="gform_source_page_number_4" id="gform_source_page_number_4" value="1">
    <input type="hidden" name="gform_field_values" value="">

  </div>
</form>
              
            
!

CSS

              
                #gform_4 ul.gfield_radio li {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #979797;
    margin: 10px 0;
    text-align: center;
    position: relative;
    border-radius: 50%;    
}

#gform_4 ul.gfield_radio li label{    
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 30px;
    -webkit-transition: all .2s;
    transition: all .2s;
    margin: 0;
    padding: 0;
    max-width: 100%;
    background-color: #fff;
    border-radius: 50%;
}

#gform_4 .gform_wrapper ul.gfield_checkbox li label, .gform_wrapper ul.gfield_radio li label {
   vertical-align: middle;
   cursor: pointer;
}

#gform_4 ul.gfield_radio li label:active {
  background-color: red
}

#gform_4 ul.gfield_radio input[type="radio"]:checked + label {
  background-color:aqua;
  display:block; 
  border: 2px solid;
  margin-left:-2px;
  margin-top: -2px;
}
              
            
!

JS

              
                
              
            
!
999px

Console