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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


              <input class='hide' id='color' type='checkbox'/>
<input class='hide' id='stroke-width' type='checkbox'/>
<input class='hide' id='background' type='checkbox'/>

<div class='control'>
	<label for='stroke-width' title='1px or 10px'>stroke-width to: </label>
	<label for='color' title='transparent or white'>Color to: </label>
	<label for='background' title='add bg'>background to: </label>
	<footer>Show the Pen <a href='' target='_blank'>link the POST</a></footer>

<p><span>text-stroke.</span> Variables: stroke-width, color & background</p>
<h1 class='text-stroke'>soy Kseso, esto EsCSS</h1>

<p><span>text-shadow.</span> Variables: color & background</p>
<h1 class='text-shadow'>soy Kseso, esto EsCSS</h1>

<p><span>drop-shadow.</span> Variables: color & background</p>
<h1 class='drop-shadow'>soy Kseso, esto EsCSS</h1>

<p><span>text inside SVG.</span> Variables: as `text-stroke´</p>
	<svg viewBox="0 0 850 80">
  	<text x='5' y="65">soy Kseso, esto EsCSS</text>



              *, *:after, *:before {
  box-sizing: inherit;
* {margin:0;padding:0;border: 0 none; position: relative;}
html {
	box-sizing: border-box;
	font-family: nunito, sans-serif;
h1 {
	--color: 1;
	--stroke-width: 2px;
	margin: 0 1rem 1rem 14rem;
	font-size: 5rem;
	color: rgba(255,255,255, var(--color));
	font-weight: 900;
	line-height: 1;
	text-align: center;
	transition: .1s;

.text-stroke {
	-webkit-text-stroke: var(--stroke-width) #b5bc67;
	/*-webkit-text-fill-color: #fff;*/
.text-shadow {
	0 0 1px #b5bc67,
  -1px -1px 0 #b5bc67,  
  1px -1px 0 #b5bc67,
  -1px 1px 0 #b5bc67,
  1px 1px 0 #b5bc67;
.drop-shadow {
	filter: drop-shadow(0 0 1px #b5bc67) drop-shadow(1px 1px 0 #b5bc67)  drop-shadow(-1px 1px 0 #b5bc67) drop-shadow(1px -1px 0 #b5bc67) drop-shadow(-1px -1px 0 #b5bc67);
svg {
	all: inherit;
text {
  fill: currentColor;
  stroke: #b5bc67;
  stroke-width: var(--stroke-width);
	font-size: 4rem;

.control {
	background: #1d1f20;
	position: fixed;
	top: 0;
	left: 0;
	width: 14rem;
	height: 100vh;
	padding: 1rem;
	color: #fff;
	font-family: monospace;
	font-size: 1.2rem;
	z-index: 2;
label {
	display: block;
	cursor: pointer;
	padding: .5rem 0 .5rem .5rem
#color:checked ~ h1 {
	--color: 0;
#stroke-width:checked ~ h1 {
	--stroke-width: 15px;
[for='color']::after {
	content: 'white';
#color:checked ~ .control [for='color']::after {
	content: 'transparent';
[for='stroke-width']:after {
	content: '2px';
#stroke-width:checked ~ .control [for='stroke-width']::after {
	content: '15px';
#background:checked ~ h1 {
	background: rgba(255,255,0,.5);
[for='background']:after {
	content: 'none';
#background:checked ~ .control [for='background']::after {
	content: 'Yes';

p {
	margin-left: 15rem;
p span {
	font-variant: small-caps;

footer {
	position: absolute;
	bottom: 8vh;
	transform: rotate(-35deg);
	transform-origin: left top;
	font-size: 120%;
footer a {
	display: block;
	color: #b5bc67;