Pen Settings



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


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


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.


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.


                </p><p>Вибери потрібне значення для <code>column-span</code>:</p>

<strong>Ця властивість може не підтримуватися Вашим браузером!</strong><br><br>

<div class="inputs">
  <input id="none" checked name="column-span" type="radio"/>
  <label for="none">none</label>
  <message for="none">Елемент займає ширину однієї колонки. За замовчуванням</message>
  <input id="all" name="column-span" type="radio"/>
  <label for="all">all</label>
  <message for="all">Елемент займає все колонки.</message>

<p id="message">Елемент займає ширину однієї колонки. За замовчуванням</p>


<div id="block">
  <h4 id="span">Це просто заголовок. Дуже довгий, довгий, довгий заголовок.</h4>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  cillum dolore eu fugiat nulla pariatur.</p>


                * {
  box-sizing: border-box;
  padding: 0;

body {
  font-family: momospace;
  font-size: 17px;
  line-height: 1.5;
  color: #222;

p, h4 {
  margin-top: 0;

#form {
  padding: 8px 16px;
  font-size: 19px;

#block {
  background: #eee;
  padding: 10px;
  margin-bottom: 16px;

  /* Safari and Chrome */
  -webkit-column-count: 3;
  -webkit-column-rule: 2px dotted gold;

  /* Firefox */
  -moz-column-count: 3;
  -moz-column-rule: 2px dotted gold;

  /* CSS3 */
  column-count: 3;
  column-rule: 2px dotted gold;

#text {
  height: 60px;
  background-color: #eee;
  padding: 16px 0;

message {
  display: none;


                var $message = $('#message');

$('.inputs').find('input').on('change', function() {
  var $messageText = $("message[for='"+$(this).attr('id')+"']")
  $('#span').css('column-span', $(this).attr('id'));