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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.



<div class="explanation">
<p>The video and the three buttons below demonstrate the use of CSS to manipulate the video. Each button will affect one area of the video, it will move it to the right, it will rotate it or it will skew it.</p>

<!-- "Video For Everybody" -->
<video id="my-video" controls="controls" poster="" width="640" height="480">
	<source src="" type="video/mp4" />
	<source src="" type="video/webm" />
		src="" type="video/ogg" />
	<object type="application/x-shockwave-flash" data="" width="640" height="480">
		<param name="movie" value="" />
		<param name="allowFullScreen" value="true" />
		<param name="wmode" value="transparent" />
		<param name="flashVars" value="config={'playlist':['',{'url':'','autoPlay':false}]}" />
		<img alt="Sintel" src="" width="640" height="480" title="No video playback capabilities, please download the video below" />
	<strong>Download video:</strong> <a href="">MP4 format</a> | <a href="">Ogg format</a> | <a href="">WebM format</a>

<div class="css-tools">
  <button type="button" id="move">Move Me!</button>
  <button type="button" id="rotate">Rotate!</button>
  <button type="button" id="skew">Skew!</button>


  font-size: 16px;
  weight: bold;

.explanation {
  width: 640px;


                $('#move').on('click', function() {

  .on('click', function() {
      'transform': 'rotate(180deg)'

  .on('click', function() {
      'transform': 'skewx(45deg)'