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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

            
              <script type="text/javascript">
  var lock = !![]
  /*
  true = !![]
  false = ![]
  */
</script>
<div id="alert">NOT AUTHORIZED</div>
<h1>Heading</h1>
<p>High Life locavore Vice, viral put a bird on it banjo cred +1 pickled chambray beard. Dreamcatcher Pitchfork Cosby sweater keytar. PBR&B pork belly pug, Godard direct trade organic bitters craft beer butcher XOXO small batch Pinterest. Master cleanse direct trade trust fund, forage wolf typewriter pour-over hashtag flannel pug leggings yr actually. DIY cray chia farm-to-table small batch, 3 wolf moon bespoke. Forage letterpress swag, fanny pack 8-bit Portland authentic ethnic pickled occupy vegan gentrify PBR chillwave. Pickled four loko dreamcatcher, Pitchfork swag before they sold out single-origin coffee.

Authentic Odd Future VHS, chia organic forage fashion axe paleo wayfarers. Next level Williamsburg fingerstache pour-over Pitchfork. Butcher forage freegan flexitarian keytar disrupt, single-origin coffee retro. Lomo butcher ugh +1, Tumblr DIY McSweeney's polaroid Terry Richardson before they sold out Portland try-hard Bushwick. Intelligentsia cliche you probably haven't heard of them, fashion axe Marfa iPhone Portland McSweeney's High Life synth Carles wolf try-hard Banksy. Wolf XOXO fixie selfies. 90's trust fund kale chips, fixie retro Bushwick sartorial.

Bicycle rights fanny pack blog, twee paleo pour-over quinoa PBR&B Blue Bottle YOLO ugh single-origin coffee Carles Odd Future. Hoodie tofu mustache, quinoa direct trade tote bag twee gluten-free skateboard letterpress. Viral readymade fashion axe iPhone, leggings pop-up tousled keffiyeh whatever 90's before they sold out gentrify. Aesthetic Schlitz 3 wolf moon, mustache fingerstache ethnic actually polaroid iPhone food truck. Jean shorts asymmetrical Marfa kitsch, authentic chambray cred banjo dreamcatcher typewriter scenester. Before they sold out banjo ethical Terry Richardson. Marfa literally selvage butcher cred Shoreditch.

Schlitz pickled roof party, Tonx typewriter pug Marfa synth chillwave stumptown. Helvetica raw denim Blue Bottle forage. Mlkshk actually skateboard, yr scenester XOXO cardigan Austin small batch fashion axe Thundercats occupy synth lomo. Pitchfork sustainable chillwave yr banh mi beard, occupy bespoke fanny pack blog Cosby sweater pork belly brunch tote bag Portland. Godard disrupt scenester Blue Bottle pug Austin, tattooed literally. Gluten-free polaroid Echo Park readymade distillery leggings. Art party stumptown Tonx Brooklyn, deep v vinyl letterpress roof party Godard forage.
<!-- http://hipsteripsum.me/ -->
</p>
            
          
!
            
              #alert{
  position:absolute;
  z-index:12;
  width:12em;
  height:6em;
  background:#fff;
  margin:32vh auto;
  left:0;right:0;
  text-align:center;
  line-height:6.6;
  box-shadow:0 0 0 1000000em rgba(0,0,0,.8);
  display:none;
  animation:move 30s linear;
}

@keyframes move{
  0%{}
  5%{left:-15em;}
  10%{top:-10em;}
  15%{left:18em;}
  20%{top:14em;}
  25%{left:-20em;}
  30%{left:5em;}
  35%{top:9em;}
  40%{right:2em;}
  45%{bottom:2em;}
  50%{top:12em;}
  55%{}
  60%{left:-15em;}
  65%{top:-10em;}
  70%{left:18em;}
  75%{top:14em;}
  80%{left:-20em;}
  85%{left:5em;}
  90%{top:9em;}
  95%{right:2em;}
  100%{left:0;right:0;top:30vh}
}
            
          
!
            
              $(document).ready(function(){var e="b",t="o",n="d",r="y",i="e";if(lock==!![])$(e+t+n+r).css(e+"ackgroun"+n,"re"+n).find("#alert").fadeIn();else $(e+t+n+r).css(e+"ackgroun"+n,"gr"+i+"en")});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console