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

              
                <ul class="countries">
  <li>Afghanistan</li>
  <li>Aland Islands</li>
  <li>Albania</li>
  <li>Algeria</li>
  <li>American Samoa</li>
  <li>Andorra</li>
  <li>Angola</li>
  <li>Anguilla</li>
  <li>Antarctica</li>
  <li>Antigua and Barbuda</li>
  <li>Argentina</li>
  <li>Armenia</li>
  <li>Aruba</li>
  <li>Australia</li>
  <li>Austria</li>
  <li>Azerbaijan</li>
  <li>Bahamas</li>
  <li>Bahrain</li>
  <li>Bangladesh</li>
  <li>Barbados</li>
  <li>Belarus</li>
  <li>Belgium</li>
  <li>Belize</li>
  <li>Benin</li>
  <li>Bermuda</li>
  <li>Bhutan</li>
  <li>Bolivia</li>
  <li>Bonaire, Sint Eustatius and Saba</li>
  <li>Bosnia and Herzegovina</li>
  <li>Botswana</li>
  <li>Bouvet Island</li>
  <li>Brazil</li>
  <li>British Indian Ocean Territory</li>
  <li>Brunei Darussalam</li>
  <li>Bulgaria</li>
  <li>Burkina Faso</li>
  <li>Burundi</li>
  <li>Cambodia</li>
  <li>Cameroon</li>
  <li>Canada</li>
  <li>Cape Verde</li>
  <li>Cayman Islands</li>
  <li>Central African Republic</li>
  <li>Chad</li>
  <li>Chile</li>
  <li>China</li>
  <li>Christmas Island</li>
  <li>Cocos (Keeling) Islands</li>
  <li>Colombia</li>
  <li>Comoros</li>
  <li>Congo</li>
  <li>Congo, the Democratic Republic of the</li>
  <li>Cook Islands</li>
  <li>Costa Rica</li>
  <li>Cote D'Ivoire</li>
  <li>Croatia</li>
  <li>Cuba</li>
  <li>Curacao</li>
  <li>Cyprus</li>
  <li>Czech Republic</li>
  <li>Denmark</li>
  <li>Djibouti</li>
  <li>Dominica</li>
  <li>Dominican Republic</li>
  <li>Ecuador</li>
  <li>Egypt</li>
  <li>El Salvador</li>
  <li>Equatorial Guinea</li>
  <li>Eritrea</li>
  <li>Estonia</li>
  <li>Ethiopia</li>
  <li>Falkland Islands (Malvinas)</li>
  <li>Faroe Islands</li>
  <li>Fiji</li>
  <li>Finland</li>
  <li>France</li>
  <li>French Guiana</li>
  <li>French Polynesia</li>
  <li>French Southern Territories</li>
  <li>Gabon</li>
  <li>Gambia</li>
  <li>Georgia</li>
  <li>Germany</li>
  <li>Ghana</li>
  <li>Gibraltar</li>
  <li>Greece</li>
  <li>Greenland</li>
  <li>Grenada</li>
  <li>Guadeloupe</li>
  <li>Guam</li>
  <li>Guatemala</li>
  <li>Guernsey</li>
  <li>Guinea</li>
  <li>Guinea-Bissau</li>
  <li>Guyana</li>
  <li>Haiti</li>
  <li>Heard Island and Mcdonald Islands</li>
  <li>Holy See (Vatican City State)</li>
  <li>Honduras</li>
  <li>Hong Kong</li>
  <li>Hungary</li>
  <li>Iceland</li>
  <li>India</li>
  <li>Indonesia</li>
  <li>Iran, Islamic Republic of</li>
  <li>Iraq</li>
  <li>Ireland</li>
  <li>Isle of Man</li>
  <li>Israel</li>
  <li>Italy</li>
  <li>Jamaica</li>
  <li>Japan</li>
  <li>Jersey</li>
  <li>Jordan</li>
  <li>Kazakhstan</li>
  <li>Kenya</li>
  <li>Kiribati</li>
  <li>Korea, Democratic People"s Republic of</li>
  <li>Korea, Republic of</li>
  <li>Kosovo</li>
  <li>Kuwait</li>
  <li>Kyrgyzstan</li>
  <li>Lao People's Democratic Republic</li>
  <li>Latvia</li>
  <li>Lebanon</li>
  <li>Lesotho</li>
  <li>Liberia</li>
  <li>Libyan Arab Jamahiriya</li>
  <li>Liechtenstein</li>
  <li>Lithuania</li>
  <li>Luxembourg</li>
  <li>Macao</li>
  <li>Macedonia, the Former Yugoslav Republic of</li>
  <li>Madagascar</li>
  <li>Malawi</li>
  <li>Malaysia</li>
  <li>Maldives</li>
  <li>Mali</li>
  <li>Malta</li>
  <li>Marshall Islands</li>
  <li>Martinique</li>
  <li>Mauritania</li>
  <li>Mauritius</li>
  <li>Mayotte</li>
  <li>Mexico</li>
  <li>Micronesia, Federated States of</li>
  <li>Moldova, Republic of</li>
  <li>Monaco</li>
  <li>Mongolia</li>
  <li>Montenegro</li>
  <li>Montserrat</li>
  <li>Morocco</li>
  <li>Mozambique</li>
  <li>Myanmar</li>
  <li>Namibia</li>
  <li>Nauru</li>
  <li>Nepal</li>
  <li>Netherlands</li>
  <li>Netherlands Antilles</li>
  <li>New Caledonia</li>
  <li>New Zealand</li>
  <li>Nicaragua</li>
  <li>Niger</li>
  <li>Nigeria</li>
  <li>Niue</li>
  <li>Norfolk Island</li>
  <li>Northern Mariana Islands</li>
  <li>Norway</li>
  <li>Oman</li>
  <li>Pakistan</li>
  <li>Palau</li>
  <li>Palestinian Territory, Occupied</li>
  <li>Panama</li>
  <li>Papua New Guinea</li>
  <li>Paraguay</li>
  <li>Peru</li>
  <li>Philippines</li>
  <li>Pitcairn</li>
  <li>Poland</li>
  <li>Portugal</li>
  <li>Puerto Rico</li>
  <li>Qatar</li>
  <li>Reunion</li>
  <li>Romania</li>
  <li>Russian Federation</li>
  <li>Rwanda</li>
  <li>Saint Barthelemy</li>
  <li>Saint Helena</li>
  <li>Saint Kitts and Nevis</li>
  <li>Saint Lucia</li>
  <li>Saint Martin</li>
  <li>Saint Pierre and Miquelon</li>
  <li>Saint Vincent and the Grenadines</li>
  <li>Samoa</li>
  <li>San Marino</li>
  <li>Sao Tome and Principe</li>
  <li>Saudi Arabia</li>
  <li>Senegal</li>
  <li>Serbia</li>
  <li>Serbia and Montenegro</li>
  <li>Seychelles</li>
  <li>Sierra Leone</li>
  <li>Singapore</li>
  <li>Sint Maarten</li>
  <li>Slovakia</li>
  <li>Slovenia</li>
  <li>Solomon Islands</li>
  <li>Somalia</li>
  <li>South Africa</li>
  <li>South Georgia and the South Sandwich Islands</li>
  <li>South Sudan</li>
  <li>Spain</li>
  <li>Sri Lanka</li>
  <li>Sudan</li>
  <li>Suriname</li>
  <li>Svalbard and Jan Mayen</li>
  <li>Swaziland</li>
  <li>Sweden</li>
  <li>Switzerland</li>
  <li>Syrian Arab Republic</li>
  <li>Taiwan, Province of China</li>
  <li>Tajikistan</li>
  <li>Tanzania, United Republic of</li>
  <li>Thailand</li>
  <li>Timor-Leste</li>
  <li>Togo</li>
  <li>Tokelau</li>
  <li>Tonga</li>
  <li>Trinidad and Tobago</li>
  <li>Tunisia</li>
  <li>Turkey</li>
  <li>Turkmenistan</li>
  <li>Turks and Caicos Islands</li>
  <li>Tuvalu</li>
  <li>Uganda</li>
  <li>Ukraine</li>
  <li>United Arab Emirates</li>
  <li>United Kingdom</li>
  <li>United States</li>
  <li>United States Minor Outlying Islands</li>
  <li>Uruguay</li>
  <li>Uzbekistan</li>
  <li>Vanuatu</li>
  <li>Venezuela</li>
  <li>Viet Nam</li>
  <li>Virgin Islands, British</li>
  <li>Virgin Islands, U.s.</li>
  <li>Wallis and Futuna</li>
  <li>Western Sahara</li>
  <li>Yemen</li>
  <li>Zambia</li>
  <li>Zimbabwe</li>
</ul>
              
            
!

CSS

              
                .countries {
  width: 100%;
  column-width: 260px;
  column-gap: 1em;
}

              
            
!

JS

              
                
              
            
!
999px

Console