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.

              <link rel="stylesheet" type="text/css" href="http://unpkg.com/iview/dist/styles/iview.css">
<script src="http://vuejs.org/js/vue.min.js"></script>
<script src="http://unpkg.com/iview/dist/iview.min.js"></script>
<script src="//unpkg.com/vue-fullscreen/dist/vue-fullscreen.js"></script>
<div id="app">
  <fullscreen :fullscreen.sync="fullscreen" ref="fullscreen" class="container" background="#EEE">
    <i-button @click="show1">Show modal (append to body)</i-button>
    <i-button @click="show2">Show modal (stay where it is)</i-button>
    <Modal v-model="visible1" title="Welcome" :transfer="true">Append to body</Modal>
    <Modal v-model="visible2" title="Welcome" :transfer="false">Stay where it is</Modal>
  <i-button @click="toggle">Full screen to see the difference</i-button>
var Main = {
  methods: {
    show1() {
      this.visible1 = true
    show2() {
      this.visible2 = true
    toggle() {
  data() {
    return {
      fullscreen: false,
      visible1: false,
      visible2: false
var App = Vue.extend(Main)
new App().$mount('#app')

Loading ..................