css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

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.

            
              .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
šŸ•‘ 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