Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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

              
                <div class="wrapper">
  <div class="svg_container">
    <svg viewBox="0 0 574 380" width="1152" height="380" fill="none" xmlns="http://www.w3.org/2000/svg">
      <g class="Logo_In_Shapes">
        <path class="Green_Corner_Piece shapes" d="M85.5 109.5v46H4V0h168.5v83h-87v26.5z" fill="#50975E" />
        <path class="Purple_Top_Piece shapes" d="M193 0h132v83H193V0z" fill="#C6A8F7" />
        <path class="Brown_Top_Piece shapes" d="M336 0h132v83H336V0z" fill="#A78759" />
        <path class="Blue_Right_Side_Piece shapes" d="M478.691 274.685L479.607 0l94.31.315L573 275l-94.309-.315z" fill="#4787B3" />
        <path class="Pink_Bottom_Piece shapes" d="M392 297h182v83H392v-83z" fill="#F3C0D6" />
        <ellipse class="Cadetblue_Bottom_Circle" cx="325" cy="330" rx="52" ry="50" fill="#6CB8C7" />
        <path class="Orange_Bottom_Triangle" d="M257.56 286v93H111.5l146.06-93z" fill="#F09538" />
        
        <path class="Yellow_Left_Side_Piece shapes" d="M.985 378.71L1.678 171l87.015.29L88 379l-87.015-.29z" fill="#F0C368" />
        <path class="Red_Center_Square shapes " fill="#D64C44" d="M99 97h187v169H99z" />
        <path class="Light_Green_Top_SemiCircle shapes" d="M455 164.5c0-14.985-7.586-29.356-21.088-39.952C420.409 113.953 402.096 108 383 108s-37.409 5.953-50.912 16.548C318.586 135.144 311 149.515 311 164.5h144z" fill="#69D681" />
        <path class="Light_Green_Bottom_SemiCircle shapes morph" d="M310.621 191.08c.165 14.984 7.908 29.27 21.527 39.717 13.618 10.447 31.996 16.198 51.09 15.988 19.095-.21 37.341-6.364 50.727-17.107 13.385-10.744 20.812-25.198 20.648-40.181l-71.996.791-71.996.792z" fill="#69D681" />
      </g>
      <ellipse class="Salmon_Bottom_Oval textShape" cx="143.233" cy="312.25" rx="23.265" ry="47.787" transform="rotate(44.972 143.233 312.25)" fill="#F89685" />
    </svg>
  </div>
  <svg width="570" height="380" fill="none" xmlns="http://www.w3.org/2000/svg">
    <g class="Actual_Logo">
      <path class="Logo_Proper_Background" fill="#F0C368" d="M0 0h570v380H0z" />
      <path class="Logo_Proper_Text" d="M174.901 221.48c-4.928 0-9.344-1.152-13.248-3.456-3.904-2.368-7.008-5.568-9.312-9.6-2.24-4.032-3.36-8.576-3.36-13.632 0-5.12 1.152-9.696 3.456-13.728 2.368-4.032 5.568-7.2 9.6-9.504 4.032-2.368 8.576-3.552 13.632-3.552 5.056 0 9.568 1.184 13.536 3.552 4.032 2.304 7.2 5.472 9.504 9.504 2.368 4.032 3.584 8.608 3.648 13.728l-2.976 2.304c0 4.608-1.088 8.768-3.264 12.48-2.112 3.648-5.024 6.56-8.736 8.736-3.648 2.112-7.808 3.168-12.48 3.168zm.768-6.72c3.712 0 7.008-.864 9.888-2.592 2.944-1.728 5.248-4.096 6.912-7.104 1.728-3.072 2.592-6.496 2.592-10.272 0-3.84-.864-7.264-2.592-10.272-1.664-3.008-3.968-5.376-6.912-7.104-2.88-1.792-6.176-2.688-9.888-2.688-3.648 0-6.944.896-9.888 2.688-2.944 1.728-5.28 4.096-7.008 7.104-1.728 3.008-2.592 6.432-2.592 10.272 0 3.776.864 7.2 2.592 10.272 1.728 3.008 4.064 5.376 7.008 7.104 2.944 1.728 6.24 2.592 9.888 2.592zm22.944 6.24c-1.088 0-1.984-.32-2.688-.96-.704-.704-1.056-1.6-1.056-2.688v-16.416l1.824-7.584 5.664 1.44v22.56c0 1.088-.352 1.984-1.056 2.688-.704.64-1.6.96-2.688.96zm42.025.48c-5.056 0-9.6-1.152-13.632-3.456-4.032-2.368-7.232-5.568-9.6-9.6-2.304-4.032-3.456-8.608-3.456-13.728 0-5.056 1.12-9.6 3.36-13.632 2.304-4.032 5.408-7.2 9.312-9.504 3.904-2.368 8.32-3.552 13.248-3.552 4.288 0 8.16.928 11.616 2.784 3.456 1.792 6.24 4.192 8.352 7.2v-28.224c0-1.152.352-2.048 1.056-2.688.704-.704 1.6-1.056 2.688-1.056s1.984.352 2.688 1.056c.704.64 1.056 1.536 1.056 2.688v45.312c-.128 4.992-1.376 9.504-3.744 13.536-2.304 3.968-5.472 7.104-9.504 9.408-3.968 2.304-8.448 3.456-13.44 3.456zm0-6.72c3.712 0 7.008-.864 9.888-2.592a19.139 19.139 0 0 0 6.912-7.2c1.728-3.008 2.592-6.432 2.592-10.272 0-3.776-.864-7.168-2.592-10.176-1.664-3.072-3.968-5.472-6.912-7.2-2.88-1.728-6.176-2.592-9.888-2.592-3.648 0-6.944.864-9.888 2.592-2.944 1.728-5.28 4.128-7.008 7.2-1.728 3.008-2.592 6.4-2.592 10.176 0 3.84.864 7.264 2.592 10.272 1.728 3.008 4.064 5.408 7.008 7.2 2.944 1.728 6.24 2.592 9.888 2.592zm67.107 6.72c-4.928 0-9.344-1.152-13.248-3.456-3.904-2.368-7.008-5.568-9.312-9.6-2.24-4.032-3.36-8.576-3.36-13.632 0-5.12 1.152-9.696 3.456-13.728 2.368-4.032 5.568-7.2 9.6-9.504 4.032-2.368 8.576-3.552 13.632-3.552 5.056 0 9.568 1.184 13.536 3.552 4.032 2.304 7.2 5.472 9.504 9.504 2.368 4.032 3.584 8.608 3.648 13.728l-2.976 2.304c0 4.608-1.088 8.768-3.264 12.48-2.112 3.648-5.024 6.56-8.736 8.736-3.648 2.112-7.808 3.168-12.48 3.168zm.768-6.72c3.712 0 7.008-.864 9.888-2.592 2.944-1.728 5.248-4.096 6.912-7.104 1.728-3.072 2.592-6.496 2.592-10.272 0-3.84-.864-7.264-2.592-10.272-1.664-3.008-3.968-5.376-6.912-7.104-2.88-1.792-6.176-2.688-9.888-2.688-3.648 0-6.944.896-9.888 2.688-2.944 1.728-5.28 4.096-7.008 7.104-1.728 3.008-2.592 6.432-2.592 10.272 0 3.776.864 7.2 2.592 10.272 1.728 3.008 4.064 5.376 7.008 7.104 2.944 1.728 6.24 2.592 9.888 2.592zm22.944 6.24c-1.088 0-1.984-.32-2.688-.96-.704-.704-1.056-1.6-1.056-2.688v-16.416l1.824-7.584 5.664 1.44v22.56c0 1.088-.352 1.984-1.056 2.688-.704.64-1.6.96-2.688.96zm89.065 0c-1.088 0-1.984-.32-2.688-.96-.704-.704-1.056-1.6-1.056-2.688v-27.648c0-4.544-1.184-8.128-3.552-10.752-2.368-2.688-5.408-4.032-9.12-4.032-3.968 0-7.232 1.344-9.792 4.032-2.496 2.624-3.712 6.144-3.648 10.56h-6.624c.064-4.288.992-8.064 2.784-11.328 1.792-3.264 4.256-5.792 7.392-7.584 3.136-1.792 6.688-2.688 10.656-2.688 3.776 0 7.104.896 9.984 2.688 2.944 1.792 5.216 4.32 6.816 7.584 1.664 3.264 2.496 7.104 2.496 11.52v27.648c0 1.088-.352 1.984-1.056 2.688-.64.64-1.504.96-2.592.96zm-67.2 0c-1.152 0-2.08-.32-2.784-.96-.64-.704-.96-1.6-.96-2.688v-45.12c0-1.088.32-1.984.96-2.688.704-.704 1.632-1.056 2.784-1.056 1.088 0 1.952.352 2.592 1.056.704.704 1.056 1.6 1.056 2.688v45.12c0 1.088-.352 1.984-1.056 2.688-.64.64-1.504.96-2.592.96zm33.696 0c-1.088 0-1.984-.32-2.688-.96-.704-.704-1.056-1.6-1.056-2.688v-27.648c0-4.544-1.184-8.128-3.552-10.752-2.368-2.688-5.408-4.032-9.12-4.032-3.968 0-7.232 1.312-9.792 3.936-2.56 2.56-3.84 5.92-3.84 10.08h-5.28c.128-4.096 1.024-7.712 2.688-10.848 1.728-3.2 4.064-5.696 7.008-7.488 2.944-1.792 6.272-2.688 9.984-2.688 3.776 0 7.104.896 9.984 2.688 2.944 1.792 5.216 4.32 6.816 7.584 1.664 3.264 2.496 7.104 2.496 11.52v27.648c0 1.088-.352 1.984-1.056 2.688-.64.64-1.504.96-2.592.96z" fill="#1D373F" />
    </g>
  </svg>

</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

:root{
  --contrast: 100%;
  --brightness: 100%;
  --opacity: 100%;
  --blur: 0px;
  --sepia: 0%;
  --grayscale: 0%;
  --invert: 0%;
  --hue_rotate: 0deg;
  --border_radius : 0px;
}


*{
  margin:0;
  padding: 0;
  font-family:Lato;
  font-weight: 500;
  font-size:1.1em;
}

li{
  list-style:none;
}

a{
  text-decoration:none;
  color:black;
}
a:hover{
    text-decoration: none;
}

input[type="text"], 
input[type="email"] , 
input[type="tel"] ,
select,
textarea{
    padding: .5em 3em .5em .4em;
    font-size: 1.2em;
    font-family: sans-serif;
    font-weight: 300;
}

input[type="submit"] {
    /* all: unset; */
    -webkit-appearance: none;
    border: none;
    border-radius: unset;
    cursor: pointer;
    font-size: 1em;
}

input[type=range] {
  -webkit-appearance: none;
  width: 40vw;
  margin: 16.15px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width:20vw;
  height: 3.7px;
  cursor: pointer;
  box-shadow: 1.2px 1.2px 4px #000000, 0px 0px 1.2px #0d0d0d;
  background: #ffffff;
  border-radius: 25px;
  border: 0.7px solid #ffffff;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #00aba9;
  height: 36px;
  width: 36px;
  border-radius: 31px;
  background: #00aba9;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -16.85px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ffffff;
}

.wrapper{
  min-height:100vh;
  display:flex;
  background: #141414;
  flex-direction: column;
  align-items:center;
}

.svg_container{
  perspective: 1800px;
  margin: 2em;
  padding: 6em 1em;
}

.Actual_Logo{
  position:relative;
}

.Logo_Proper_Background ,
.Logo_Proper_Text {
  position:absolute;
/*   display:none; */
}

.Logo_Proper_Background{
  z-index: -1;
}







              
            
!

JS

              
                console.clear();
MorphSVGPlugin.convertToPath("circle, ellipse");
const tl = new TimelineMax({
  repeat: -1,
  yoyo: true,
  repeatDelay: 0.5,
  defaults: { ease: "power3.inOut", duration: 0.8 }
});
// tl.set('.Logo_Proper_Text' , 1 , {
//   zIndex: 2
// })
// var shapes = ['.Green_Corner_Piece' , '.Purple_Top_Piece' , '.Brown_Top_Piece' ,'.Blue_Right_Side_Piece' , '.Pink_Bottom_Piece' , '.Cadetblue_Bottom_Circle' , '.Orange_Bottom_Triangle' , '.Salmon_Bottom_Oval' , '.Yellow_Left_Side_Piece' , '.Red_Center_Square' , '.Light_Green_Top_SemiCircle' , '.Light_Green_Bottom_SemiCircle'];

// tl.staggerFrom(".shapes" , 1 , {
//     y : -600,
//     autoAlpha: 0,
//     ease: Bounce.easeOut
//   } , 0.15);
// tl.staggerTo(".shapes" , 1 , {
//   fill: '#F0C368'
// }, 0.05)

// var firstAnimation = TweenMax.to('.morph' , 2, {
//   morphSVG: ".Logo_Proper_Background"
// });

tl.to(".shapes", {
  duration: 2,
  morphSVG: ".Logo_Proper_Background",
  opacity: 0.5
});

tl.to(".textShape", {
  duration: 2,
  fill: "#1D373F",
  morphSVG: ".Logo_Proper_Text"
});

//tl.add([firstAnimation , secondAnimation]);

// tl.staggerTo(shapes , 1 , {

//   } , 0.05);

// tl.to(".Light_Green_Bottom_SemiCircle", { morphSVG: ".rect" }, "morphIt");
// tl.to(".Light_Green_Top_SemiCircle", {
//   morphSVG: ".rect"
// });
// tl.to(".Cadetblue_Bottom_Circle", {
//   morphSVG: ".rect"
// });

              
            
!
999px

Console