Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <h1>Dividir párrafos en columnas con CSS</h1>
<div class="contenedor-columnas">
  <div class="columnas">
    <h3>Encabezado</h3>
    <p>Lorem fistrum dolor aute te voy a borrar el cerito dolore llevame al sircoo a peich adipisicing ullamco pecador no puedor. Ut está la cosa muy malar a wan ese que llega por la gloria de mi madre ut. A peich no puedor elit amatomaa pecador a peich pecador. Eiusmod de la pradera labore eiusmod consectetur te va a hasé pupitaa ut ese pedazo de ese pedazo de te va a hasé pupitaa incididunt. Aute consectetur está la cosa muy malar a peich sit amet esse voluptate ahorarr.
    </p>
    <p>
    Adipisicing ex aliqua sexuarl fistro qué dise usteer officia papaar papaar. Consequat mamaar duis la caidita. Jarl condemor ese que llega duis apetecan occaecat la caidita a peich. Torpedo ese que llega pecador laboris amatomaa aliqua ut. Voluptate aute se calle ustée mamaar nostrud velit de la pradera ahorarr diodeno consectetur duis. Dolor aute incididunt fistro voluptate. Velit reprehenderit sit amet al ataquerl officia. Velit mamaar te va a hasé pupitaa qué dise usteer benemeritaar dolore qui occaecat.
    </p>
    <p>
    Dolor magna sexuarl officia benemeritaar amatomaa a gramenawer a gramenawer apetecan ut. Quis reprehenderit magna esse magna diodeno a peich velit irure ut officia. Llevame al sircoo sed magna eiusmod labore. Eiusmod et minim ahorarr. Aliquip quietooor enim condemor exercitation sit amet se calle ustée. Diodeno adipisicing velit te voy a borrar el cerito qué dise usteer benemeritaar minim voluptate pecador no puedor exercitation. Apetecan condemor dolor a gramenawer consequat mamaar sed commodo consectetur. Laboris a peich exercitation reprehenderit aliquip a peich condemor cillum.
    </p> 
    <p>Lorem fistrum dolor aute te voy a borrar el cerito dolore llevame al sircoo a peich adipisicing ullamco pecador no puedor. Ut está la cosa muy malar a wan ese que llega por la gloria de mi madre ut. A peich no puedor elit amatomaa pecador a peich pecador. Eiusmod de la pradera labore eiusmod consectetur te va a hasé pupitaa ut ese pedazo de ese pedazo de te va a hasé pupitaa incididunt.
    </p>
  </div>
</div>
<div class="tutorial">
<a href="https://www.jesustovar.es/veteasabertu/como-dividir-parrafos-en-columnas-con-css-css3" target="_blank">Tutorial paso a paso</a>
</div>
              
            
!

CSS

              
                h1{
  text-align: center;
}
.contenedor-columnas{
  max-width:1000px;
  margin: auto;
  background-color: #ffffff;
  padding:50px;
}
.columnas{
  column-count: 3; /* número de columnas */
  column-gap: 100px; /* ancho de columnas */
  column-rule: 5px outset #999999; /* separación de columnas */
}
.tutorial{
  text-align: center;
  margin-top:20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console