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 class="element">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda fugiat vel dolore ducimus explicabo vero rerum laudantium voluptates doloremque perspiciatis quam sunt, illum quod corrupti maxime eligendi aliquid, nostrum aspernatur impedit expedita tenetur! Repudiandae quisquam dolores esse sapiente, commodi incidunt, aspernatur voluptatibus? Illum molestias, ducimus vitae quod! Nam, cum maiores odit repellendus reprehenderit provident sint, tempore! Asperiores, minus voluptatibus veritatis odit nam, commodi magni eligendi! Nobis omnis laborum ut facilis, fugit doloribus labore at voluptas itaque nesciunt quasi libero provident ratione fuga quisquam obcaecati animi blanditiis aliquid eius. Quae dicta nostrum praesentium obcaecati incidunt omnis, numquam cum, atque provident nam!</div>
<div class="element">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda fugiat vel dolore ducimus explicabo vero rerum laudantium voluptates doloremque perspiciatis quam sunt, illum quod corrupti maxime eligendi aliquid, nostrum aspernatur impedit expedita tenetur! Repudiandae quisquam dolores esse sapiente, commodi incidunt, aspernatur voluptatibus? Illum molestias, ducimus vitae quod! Nam, cum maiores odit repellendus reprehenderit provident sint, tempore! Asperiores, minus voluptatibus veritatis odit nam, commodi magni eligendi! Nobis omnis laborum ut facilis, fugit doloribus labore at voluptas itaque nesciunt quasi libero provident ratione fuga quisquam obcaecati animi blanditiis aliquid eius. Quae dicta nostrum praesentium obcaecati incidunt omnis, numquam cum, atque provident nam!</div>
            
          
!
            
              .element
	margin: 0 auto
	
	&:first-child
		background-color: red
	
	&:nth-child(2)
		background-color: green

            
          
!
            
              $(".element").velocity({
	width: "500px",
	opacity: "0.7"
}, {
	duration: 400,
	easing: "swing",
	queue: "",
	begin: function(el){
		console.log(el);
		let dom = el[0];
		console.log(dom);
	},
	progress: undefined,
	complete: undefined, 
	display: undefined, 
	visibility: undefined, 
	loop: false, 
	delay: false, 
	mobileHA: true
});

            
          
!
999px
Loading ..................

Console