cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="stylesheet" href="">
  <div class="cat_init ">
    <div class="dog_init block">
      <h3>Cat <i></i> wrote this code.</h3>
      <h3> Dog <span></span> can talk and Cat <i></i> can speaks French  </h3>
      <h3> Dog <span></span> is  intelligent  and Cat <i></i> is dumb</h3>
      <h3> Dog <span></span> just learned how to swim  and Cat <i></i> skips a rope</h3>
    <!-- Now to reset the dog counter but continue the cat counter -->
    <div class="dog_init block" style="margin-top:60px;">
      <h3>Dog <span></span>  is pissed with cat <i></i></h3>

              body {
    font-family: Arial; /* Just because its better looking ;) */
    counter-reset: cat_number;
    counter-reset: dog_number;
  background: #eee;
  border: solid thin #ccc;
  margin-bottom: 50px;
  padding: 15px 20px;

h3 span::before {
    counter-increment: dog_number;
    content: "number " counter(dog_number); 
    color: red;

h3 i::before {
    counter-increment: cat_number;
    content: "number " counter(cat_number); 
    color: blue;
Loading ..................