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.


                <h1>CENTRADO HORIZONTAL</h1>
  <li>Elemento de lista 01</li>
  <li>Elemento de lista 02</li>
<img src="" alt=""/>
<table width="300px" border="1" cellspacing="0" cellpadding="0">
<div class="capa-padre">
  <div class="capa-hijo">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sit amet eleifend quam, et blandit arcu. Curabitur tincidunt hendrerit finibus. Praesent tellus ipsum, sodales non dui sit amet, mollis aliquam ex. Etiam sed elit sit amet erat dictum iaculis. Nam ut tempor ligula, eu efficitur erat.
<div class="capa-exterior">
  <div class="capa-interior">
    <h3>EL MAQUETADOR WEB</h3>


                body { font-family: arial; }
h1 { text-align: center; }
ul { 
  list-style: none;
  text-align: center;
img {
	display: block;
	margin: 0 auto;
table { margin: 0 auto; }
.capa-padre {
	background-color: black;
	display: table;
	height: 300px;
.capa-hijo {
	background-color: red;
	display: table-cell;
	vertical-align: middle;
.capa-exterior {
	background-color: #000;
	min-height: 467px;
	position: relative;
.capa-interior {
	left: 0;
	margin: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;