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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

            
              .rectangular
  .content
    %svg#pillar{:viewbox => "0 0 362.23 512", :xmlns => "http://www.w3.org/2000/svg"}
      %path.a{:d => "M238.42,252.78,224,496s8,16,32,16,32-16,32-16L273.57,254.37", :transform => "translate(-74.88)"}
      %path.b{:d => "M256,496.1c-12.8,0-16-4.77-16-4.77L254.4,256h3.18L272,491.25C272.06,491.25,268.8,496.1,256,496.1Z", :transform => "translate(-74.88)"}
    %svg#green{:viewbox => "0 0 362.23 512", :xmlns => "http://www.w3.org/2000/svg"}
      %path#turbine.a{:d => "M273.57,254.37c46.44,20.83,156.8,70.45,163.25,59.24s-91.21-83.17-132.79-112c-3.18-12.8-9.62-24-17.57-30.37C281.6,120,268.8,0,256,0s-25.6,120-30.37,169.61c-9.62,8-16,17.57-17.57,30.37C168,228.85,68.82,300.81,75.18,312S192,273.61,238.42,252.78M256,52.8s4.77,36.82,12.8,108.86c-3.18-1.59-8-1.59-12.8-1.59s-9.62,0-12.8,1.59C248,104,256,52.8,256,52.8Zm-134.38,232s30.37-24,88-65.6c1.59,9.62,6.44,17.57,12.8,22.42C169.64,265.66,121.61,284.83,121.61,284.83ZM256,240.06a32,32,0,1,1,32-32A32.07,32.07,0,0,1,256,240.06Zm33.64,1.59c6.44-4.77,11.21-12.8,12.8-24,46.44,33.64,86.44,65.6,86.44,65.6S353.64,270.43,289.63,241.65Z"}
  .rectangular__white
    %span.rectangular__h2
      PANTONE
      %sup Ā®
    %span.rectangular__p 15-0343 Greenery
            
          
!
            
              body
   background-color #88B04B
   
.rectangular
   position relative
   margin 10% auto
   border 10px solid #fff
   width 350px
   height 500px
   overflow hidden
   
.rectangular__white
   position absolute
   width 100%
   height 150px
   bottom 0
   left 0
   right 0
   background-color #fff
   .rectangular__h2
     font-size 50px
     font-family 'Roboto', sans-serif
     font-weight bolder
     margin-top 25px
     margin-left 20px
     display block
     sup
       font-size 20px
   .rectangular__p
     font-size 23px
     font-family 'Roboto', sans-serif
     font-weight bolder
     margin-top 0px
     margin-left 20px
     display block

#green
  width 100px
  height 100px
  margin 0 auto
  position absolute 
  left 0 
  right 0
  top 100px
  animation rotation 3s infinite linear
  .a 
    fill #ffffff
    
#pillar
  width 100px
  height 100px
  margin 0 auto
  position absolute 
  left 0 
  right 0
  top 107px
  .a 
    fill #ffffff
  .b 
    fill #88B04B
#turbine
    transform translate(-77px, 50px)
   
    
@keyframes rotation
    from {
      transform rotate(0deg)
    }
    to {
      transform rotate(360deg)
    }
    
@media (max-width 400px)
  .rectangular 
    width 300px
    height 450px
    
@media (max-width 400px)
  .rectangular 
    width 250px
    height 400px
  .rectangular__white
   .rectangular__h2
      font-size 40px
            
          
!
            
              /*

šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²šŸŒ²
šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³šŸŒ³
šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“šŸŒ“


The fact that greenery is the colour of the year it's just naturally perfect. 
Green is not just a colour, is a lifestyle, is a choice and as a matter of fact green represents life and nature. 


*/
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console