Pen Settings



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


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.


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.


                <div class="comic-row">
<div class="comic-panel">
    <div class="comic-caption-top">This New Year, I am going to learn Bharatanatyam! </div>
    <g class="comicgen" name="dee" angle="sitting" emotion="lookingdownsmiling" pose="sittingonbeanbagholdinglaptop" x="54" y="50" scale="1.05" width="200" height="200"></g>
  <div class="comic-panel">
    <div class="comic-caption-top"> The Mulumandi Jump </div>
    <iframe width="200" height="200" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  <div class="comic-panel">
    <div class="comic-caption-top">Okay that was easy! I better stick to Salsa! </div>
    <g class="comicgen" name="dee" angle="sitting" emotion="suprisedshocked" pose="sittingonbeanbagholdinglaptop"  x="-419" y="-147" scale="2.49" width="200" height="200"></g>


                .comic-panel {
  height: 200px;          /* Each panel has a height of 200 px */
  margin: 10px;           /* ... and a little bit of spacing around it */
  border: 2px solid grey; /* ... with a thick grey border */
  overflow: hidden;       /* Comics should not spill out of the border */
  position: relative;     /* This will be useful when we add captions */

.comic-row {
  display: flex;
  flex-direction: row;

.comic-caption-top {
  position: absolute;             /* Caption sits on top of the image */
  width: 100%;                    /* It occupies the full width of the panel */
  top: 0;                         /* Position the panel at the top */
  border-bottom: 2px solid grey;  /* ... and top a bottom below. */
  background-color: white;        /* Hide anything behind the caption - for legibility */
 --comic-caption-padding: 0.25rem 0.5rem;  /* Custom margin. Default: 0.25rem */               /* Give a bit of room for white-space */
  font-family: Neucha;   /* Pick a handwriting font from Google Fonts */
  font-size: 16px;
  text-transform: uppercase;      /* Comic lettering is usually uppercase */
.comic-caption-top, .comic-caption-bottom { /* Apply any custom styles you want */
  text-transform: uppercase;