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.

              <div id="app">
  <h2>We can use slots to populate content</h2>
    <h3>This is slot number one</h3>
    <h3>This is slot number two</h3>
    <small>I can put more info in, too!</small>

<script type="text/x-template" id="childarea">
  <div class="child">
    <p>It's a veritable slot machine!<br> 
    Ha ha aw</p>
              body {
  font-family: 'Bitter', serif;

#app {
  text-align: center;
  margin: 60px;
  max-width: 320px;
  margin: 0 auto;
  display: table;

.child {
  border: 1px solid #c62735;
  border-radius: 4px;
  padding: 3px;
  margin: 7px;
  background: #f7eff0;
  opacity: 0.8;

button {
  font-family: 'Bitter';
  background: #c62735;
  color: white;
  border: 0;
  padding: 5px 15px;
  margin: 0 10px;
  border-radius: 4px;
  outline: 0;
  cursor: pointer;

h4 {
  margin: 0 0 15px;

hr {
  border-color: #F2FAFF;
  opacity: 0.5;
  margin: 15px 0;
              const Child = {
  template: '#childarea'

new Vue({
  el: '#app',
  components: {
    appChild: Child
Loading ..................