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.

            
              <div class="mario"></div>
            
          
!
            
              $bg: #A7D4F2
$red: #E53434
$blue: #4773ED
$brown: #6B3904
$black: #333
$beige: #FFF2BC
$yellow: #FFEE32

body
	background: $bg

.mario
	position: absolute
	top: 15%
	left: 52%
	height: 10px
	width: 10px
	background: transparent
	box-shadow: /* Line 1 */-40px -10px $black, -30px -10px $black, -20px -10px $black, 60px -10px $black, 70px -10px $black, /* Line 2 */ -40px 0 $black, -30px 0 $brown, -20px 0 $brown, -10px 0 $black, 10px 0 $black, 20px 0 $black, 30px 0 $black, 40px 0 $black, 50px 0 $black, 60px 0 $brown, 70px 0 $black, -40px 10px $black, -30px 10px $brown, -20px 10px $brown, -10px 10px $brown, 0px 10px $black, 10px 10px $red, 20px 10px $red, 30px 10px $red, 40px 10px $red, 50px 10px $black, 60px 10px $brown, 70px 10px $black, /* Line 3 */-40px 20px $black, -30px 20px $brown, -20px 20px $brown, -10px 20px $brown, 0px 20px $red, 10px 20px $red, 20px 20px $red, 30px 20px $red, 40px 20px $red, 50px 20px $red, 60px 20px $black,/* Line 4 */-40px 30px $black, -30px 30px $brown, -20px 30px $brown, -10px 30px $red, 0px 30px $red, 10px 30px $black, 20px 30px $black, 30px 30px $black, 40px 30px $black, 50px 30px $black, 60px 30px $black, 70px 30px $black,/* Line 5 */-40px 40px $black, -30px 40px $red, -20px 40px $red, -10px 40px $red, 0px 40px $black,  10px 40px $black, 20px 40px $black, 30px 40px $black, 40px 40px $black, 50px 40px $black, 60px 40px $black, 70px 40px $black, 80px 40px $black,/* Line 6*/ -40px 50px $black, -30px 50px $red, -20px 50px $black, -10px 50px $black,  0px 50px $beige,  10px 50px $beige,  20px 50px $beige,  30px 50px $beige,  40px 50px $beige,  50px 50px $beige,  60px 50px $black,  70px 50px $black,/* Line 6 */-50px 60px $black, -40px 60px $black, -30px 60px $black, -30px 60px $black, -20px 60px $black, -10px 60px $beige, 0px 60px $beige, 10px 60px $beige, 20px 60px $black, 30px 60px $beige, 40px 60px $black, 50px 60px $beige, 60px 60px $black,/* Line 7 */-50px 70px $black, -40px 70px $beige,-30px 70px $black,-20px 70px $black, -10px 70px $beige, 0px 70px $beige, 10px 70px $beige, 20px 70px $black, 30px 70px $beige, 40px 70px $black, 50px 70px $beige, 60px 70px $black,/* Line 8 */ -60px 80px $black, -50px 80px $beige, -40px 80px $beige, -30px 80px $black, -20px 80px $black, -10px 80px $black, 0px 80px $beige, 10px 80px $beige, 20px 80px $beige, 30px 80px $beige, 40px 80px $beige, 50px 80px $beige, 60px 80px $beige, 70px 80px $black,/* Line 9 */-60px 90px $black, -50px 90px $beige, -40px 90px $beige, -30px 90px $beige, -20px 90px $black, -10px 90px $beige, 0px 90px $beige, 10px 90px $black, 20px 90px $beige, 30px 90px $beige, 40px 90px $beige, 50px 90px $beige, 60px 90px $beige, 70px 90px $black,/* Line 10 */ -50px 100px $black, -40px 100px $beige, -30px 100px $beige, -20px 100px $beige, -10px 100px $beige, 0px 100px $black, 10px 100px $black, 20px 100px $black, 30px 100px $black, 40px 100px $beige, 50px 100px $beige, 60px 100px $black, 70px 100px $black, 80px 100px $black,/* Line 11*/-40px 110px $black, -30px 110px $black, -20px 110px $beige, -10px 110px $beige, 0px 110px $beige, 10px 110px $beige, 20px 110px $black, 30px 110px $black, 40px 110px $black, 50px 110px $black, 60px 110px $black, 70px 110px $black,/* Line 11 */ -30px 120px $black, -20px 120px $black, -10px 120px $black, 0px 120px $beige, 10px 120px $beige, 20px 120px $beige, 30px 120px $beige, 40px 120px $beige, 50px 120px $black,/* Line 12 */ -50px 130px $black, -40px 130px $black, -30px 130px $red, -20px 130px $red, -10px 130px $black, 0px 130px $black, 10px 130px $black, 20px 130px $black, 30px 130px $black, 40px 130px $black, 50px 130px $black, 60px 130px $black, 70px 130px $black, 80px 130px $black,/* Line 13 */ -80px 140px $black, -70px 140px $black, -60px 140px $black, -50px 140px $black, -40px 140px $red, -30px 140px $red, -20px 140px $red, -10px 140px $red, 0px 140px $black, 10px 140px $blue, 20px 140px $black, 30px 140px $red, 40px 140px $black, 50px 140px $black, 60px 140px $beige, 70px 140px $beige, 80px 140px $beige, 90px 140px $black,/* Line 14 */ -90px 150px $black, -80px 150px $beige, -70px 150px $beige, -60px 150px $beige, -50px 150px $beige, -40px 150px $black, -30px 150px $red, -20px 150px $red, -10px 150px $red, 0px 150px $red, 10px 150px $black, 20px 150px $blue, 30px 150px $black, 40px 150px $red, 50px 150px $black, 60px 150px $black, 70px 150px $beige, 80px 150px $beige, 90px 150px $black, -90px 160px $black, -80px 160px $beige, -70px 160px $beige, -60px 160px $beige, -50px 160px $beige, -40px 160px $beige, -30px 160px $black, -20px 160px $red, -10px 160px $red, 0px 160px $red, 10px 160px $black, 20px 160px $blue, 30px 160px $black, 40px 160px $red, 50px 160px $red, 50px 160px $black, 60px 160px $black, 70px 160px $black, 80px 160px $black,/* Line 15*/ -110px 170px $black, -100px 170px $black, -90px 170px $black, -80px 170px $black, -70px 170px $black, -60px 170px $black, -50px 170px $beige, -40px 170px $beige, -30px 170px $black, -20px 170px $red, -10px 170px $black, 0px 170px $black, 10px 170px $blue, 20px 170px $blue, 30px 170px $black, 40px 170px $black, 50px 170px $black, 60px 170px $blue, 70px 170px $black,/* Line 16*/ -120px 180px $black, -110px 180px $black, -100px 180px $brown, -90px 180px $brown, -80px 180px $brown, -70px 180px $brown, -60px 180px $brown, -50px 180px $black, -40px 180px $black, -30px 180px $black, -30px 180px $black, -20px 180px $black, -10px 180px $blue, 0px 180px $blue, 10px 180px $blue, 20px 180px $yellow, 30px 180px $yellow, 40px 180px $blue, 50px 180px $blue, 60px 180px $yellow, 70px 180px $black,/* Line 17 */ -120px 190px $black, -110px 190px $brown, -100px 190px $brown, -90px 190px $brown, -80px 190px $brown, -70px 190px $brown, -60px 190px $black, -50px 190px $black, -40px 190px $black, -30px 190px $black, -20px 190px $black, -10px 190px $blue, 0px 190px $blue, 10px 190px $blue, 20px 190px $yellow, 30px 190px $yellow, 40px 190px $blue, 50px 190px $blue, 60px 190px $yellow, 70px 190px $black,/* Line 18 */ -120px 200px $black, -110px 200px $brown, -100px 200px $brown, -90px 200px $brown, -80px 200px $brown, -70px 200px $black, -60px 200px $blue, -50px 200px $blue, -40px 200px $blue, -30px 200px $blue, -20px 200px $blue, -10px 200px $blue, 0px 200px $blue, 10px 200px $blue, 20px 200px $blue, 30px 200px $blue, 40px 200px $blue, 50px 200px $blue, 60px 200px $black,/* Line 19 */ -120px 210px $black, -110px 210px $black, -100px 210px $brown, -90px 210px $brown, -80px 210px $brown, -70px 210px $black, -60px 210px $blue, -50px 210px $blue, -40px 210px $blue, -30px 210px $blue, -20px 210px $blue, -10px 210px $blue, 0px 210px $blue, 10px 210px $blue, 20px 210px $blue, 30px 210px $blue, 40px 210px $blue, 50px 210px $blue, 60px 210px $black,/* Line 20 */ -110px 220px $black, -100px 220px $black, -90px 220px $black, -80px 220px $black, -70px 220px $blue, -60px 220px $blue, -50px 220px $blue, -40px 220px $blue, -30px 220px $blue, -20px 220px $blue, -10px 220px $blue, 0px 220px $black, 10px 220px $black, 20px 220px $blue, 30px 220px $blue, 40px 220px $black, 50px 220px $black,/* Line 21 */ -80px 230px $black, -70px 230px $blue, -60px 230px $blue, -50px 230px $blue, -40px 230px $black, -30px 230px $black, -20px 230px $black, -10px 230px $black, 0px 230px $blue, 10px 230px $blue, 20px 230px $black, 30px 230px $black, 40px 230px $black,/* Line 22 */ -80px 240px $black, -70px 240px $blue, -60px 240px $blue, -50px 240px $black, -40px 240px $brown, -30px 240px $brown, -20px 240px $black, -10px 240px $black, 0px 240px $black, 10px 240px $black,/* Line 22 */ -70px 250px $black, -60px 250px $black, -40px 250px $black, -30px 250px $black
	
	
	
	
	
            
          
!
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