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.

            
              <base href="https://cdn.rawgit.com/download/polymer-cdn/1.5.0/lib/">

<script src="webcomponentsjs/webcomponents-lite.min.js"></script>

<link rel="import" href="iron-icon/iron-icon.html">
<link rel="import" href="iron-icons/iron-icons.html">
<link rel="import" href="iron-image/iron-image.html">
<link rel="import" href="iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="iron-flex-layout/classes/iron-flex-layout.html">

<link rel="import" href="paper-button/paper-button.html">
<link rel="import" href="paper-checkbox/paper-checkbox.html">
<link rel="import" href="paper-material/paper-material.html">
<link rel="import" href="paper-styles/paper-styles.html">
<link rel="import" href="paper-styles/classes/global.html">
<link rel="import" href="paper-tabs/paper-tabs.html">
<link rel="import" href="paper-toggle-button/paper-toggle-button.html">

<style is="custom-style">
  :root {
    --paper-tabs-selection-bar-color: var(--paper-light-blue-900);
    --paper-tab-ink: var(--paper-light-blue-100);
  
    --paper-tabs: {
      color: white;
      background-color: var(--paper-light-blue-500);
    };
  }
</style>

<div>
  <paper-button raised>
    <iron-icon icon="check"></iron-icon>
    OK
  </paper-button>
  
  <paper-button raised>
    <iron-icon icon="clear"></iron-icon>
    Cancel
  </paper-button>
</div>

<p>
  <paper-checkbox>Checkbox</paper-checkbox>
</p>

<p>
  <paper-toggle-button></paper-toggle-button>
</p>

<paper-tabs selected="0">
  <paper-tab>TAB 1</paper-tab>
  <paper-tab>TAB 2</paper-tab>
  <paper-tab>TAB 3</paper-tab>
</paper-tabs>

<h2>Layout</h2>
<div class="layout horizontal">
  <paper-material class="flex">1</paper-material>
</div>

<div class="layout horizontal">
  <paper-material class="flex">1</paper-material>
  <paper-material class="flex">1</paper-material>
</div>

<div class="layout horizontal">
  <paper-material class="flex">1</paper-material>
  <paper-material class="flex">1</paper-material>
  <paper-material class="flex">1</paper-material>
</div>

<div class="layout horizontal">
  <paper-material class="flex">1</paper-material>
  <paper-material class="flex">1</paper-material>
  <paper-material class="flex">1</paper-material>
  <paper-material class="flex">1</paper-material>
</div>

<div>
  <iron-image src="https://i.imgur.com/qIuEEhU.jpg" sizing="cover"></iron-image>
</div>
            
          
!
            
              iron-image {
  width: 400px;
  height: 400px;
  background-color: black;
}
            
          
!
999px
Loading ..................

Console