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 id='text'>Father & Son</div>


<svg id='symbols' xmlns="http://www.w3.org/2000/svg" width="490.791" height="343.23" viewBox="0 0 490.791 343.23">
  <path fill="#58595B" d="M322.562 208.66l-40.692 37.677c1.35 1.98 2.704 3.94 4.055 5.89l40.47-38.26-3.84-5.3.007-.008z"/>
  <path fill="#5b2500" d="M417.96 201.16c-24.035-15.175-28.387-10.058-28.387-10.058s-12.37 23.802-21.9 38.294c-9.53 14.49-24.742 8.01-31.833-2.193-1.64-2.357-4.913-6.973-9.437-13.24l-40.478 38.26c12.28 17.736 24.47 34.4 34.71 47.685 29.08 37.753 69.11 50.246 97.99 30.818 37.84-22.628 69.67-71.042 70.76-72.167 6.37-6.55-50.91-44.44-71.43-57.4h.004z"/>
  <circle fill="#008952" cx="76.262" cy="267.013" r="75.717"/>
  <path fill="#aac738" d="M16.48 240.514c-14.06 43.27 22.28 84.706 51.344 83.624 29.067-1.082 54.56-16.086 51.422-47.635-3.14-31.55-29.665-44.178-42.334-41.566-17.277 3.57-32.604 14.05-25.343 41.48 7.26 27.43 27.88 26.67 36.63 20.7s12.28-19.49 7.81-27.63c-6.19-11.27-19.76-2.47-19.76-2.47s15.37-6.06 15.37 10.75-34.12 21.44-34.12-11.33 31.962-23.09 36.4-18.65c4.436 4.437 35.493 52.438-9.48 66.755-44.974 14.32-61.51-31.26-49.008-60.703 12.5-29.45 49.9-50.14 78.794-20.43 28.9 29.7 24.06 72.46-5.386 93.84-19.96 14.49-36.24 15.42-44.66 14.52 23.18 3.72 47.756-3.34 65.623-21.21 29.57-29.57 29.57-77.51 0-107.08-17.61-17.61-41.73-24.73-64.61-21.368-19.574 7.503-40.115 21.96-48.707 48.407l.004-.014z"/>
  <path fill="#808285" d="M133.476 218.226l-8.718-8.718L334.266 0l8.718 8.718-209.508 209.508z"/>
  <path d="M253.12 117.904C191.54 43.196 122.39 15.636 110.23 9.872c-3.856-4.126-11.24-6.89-14.004-3.356-2.77 3.53-8.61 16.48-8.806 18.684-.198 2.21 8.913 5.485 12.45-.458 78.718 29.98 110.77 93.126 128.783 132.78 10.98 24.166 31.937 57.73 53.216 88.814l40.69-37.677c-15.82-21.76-42.5-57.64-69.44-90.76zm217.01 124.37c-.814 1.18-13.9-6.41-29.23-16.954-15.33-10.548-27.1-20.055-26.285-21.237.81-1.182 13.89 6.408 29.22 16.953 15.33 10.547 27.1 20.056 26.28 21.238h.014z"/>
  <path fill="#b5784e" d="M445.998 219.576c-27.825-19.34-48.57-30.22-49.925-28.248-1.358 1.97 17.273 18.83 42.843 36.423 25.57 17.59 48.398 29.25 49.756 27.28 1.355-1.97-14.8-16.08-42.674-35.45z"/>
  <path d="M443.844 221.036c-15.33-10.545-28.416-18.134-29.23-16.952-.813 1.18 10.956 10.69 26.286 21.237 15.33 10.55 28.416 18.14 29.23 16.96.812-1.19-10.956-10.7-26.286-21.24z"/>
  <path opacity=".4" d="M285.38 252.223c12.287 17.737 24.477 34.4 34.71 47.686 29.086 37.75 69.115 50.24 97.996 30.81 37.84-22.62 70.108-71.69 71.2-72.81-1.395-.36-13.908-2.93-21.783-8.72-16.208 18.415-47.55 65.7-82.717 65.22-40.162-.54-88.74-72.24-88.74-72.24l-10.665 10.05v-.005zm-136.825 35.523c-3.408 12.013-9.84 23.35-19.298 32.807-29.57 29.57-77.51 29.57-107.08 0C8.173 306.546.8 288.416.063 270.07c30.726 71.34 115.392 72.67 148.494 17.676h-.002z"/>
  <path opacity=".5" fill="none" stroke="#FFF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M25.384 226.785c.997-1.298 2.042-2.56 3.133-3.78m-16.802 43.858c0-10.148 2.425-20.255 6.953-29.33"/>
  <path class='smoke' fill="none" stroke="#fff" opacity='0' stroke-width='24' stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M460.453 83.9c.595-10.27-7.248-19.078-17.518-19.674-12.838-.744-23.848 9.06-24.592 21.897-.93 16.047 11.324 29.81 27.37 30.74 20.06 1.163 37.264-14.155 38.426-34.214 1.45-25.08-17.7-46.58-42.77-48.04-31.34-1.82-60.13 22.06-60.04 53.46.17 58.43 54.84 60.84 69.39 89.95 14.39 28.78-12.85 39.58-12.85 39.58"/>
  <path opacity=".3" fill="none" stroke="#000" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M396.773 329.568c-15.63 3.27-33.415-2.98-45.392-13.705m66.34 4.667c-2.8 2.052-6.164 4.42-9.39 5.643"/>
</svg>




<div id='container'>
<svg xmlns="http://www.w3.org/2000/svg" width="173.181" height="182.956" viewBox="0 0 173.181 182.956"><path id='face' opacity='0.9' d="M153.608 100.834c.9-.06 1.257-.074 1.61-.108 5.383-.51 7.584-3.87 5.023-8.563-2.55-4.677-5.717-9.035-8.785-13.412-1.28-1.825-1.668-2.355-1.043-3.48-.5-.875-.232-2.335.593-3.513 3.92-5.602 2.616-10.487 1.36-17.366-.198-1.085-.54-2.164-.85-3.46 3.537-.55 6.85-.92 10.093-1.608 3.127-.663 6.25-1.47 9.253-2.552 2.47-.89 2.596-1.94 1.02-3.943 1.806-2.064 1.815-3.244-.498-4.794-2.178-1.46-4.632-2.5-6.93-3.786-1.23-.687-2.507-1.364-3.563-2.277-18.664-16.133-39.793-27.165-64.37-30.92C83.73-.908 71.03-.073 58.477 3.092c-.636.16-1.426-.315-2.15-.463-.58-.118-1.28-.427-1.723-.22-.558.263-.983.92-1.333 1.488-.39.638-.47 1.534-.97 2.03C44.12 14.048 40.03 24 39.012 35.345c-.638 7.12.26 14.095 1.838 21.032.487 2.138.436 4.392.79 6.568.546 3.364 1.64 4.944 4.556 6.593l-3.505 2.278c-.62 1.347-1.098 2.407-1.593 3.46-.99 2.1-2.104 4.152-2.938 6.313-.526 1.358-.708 2.817-2.688 2.955.614 2.302 1.226 4.38 3.353 5.784.865.57 1.234 1.854 1.924 2.74 1.475 1.897 3.115 3.675 4.484 5.643.713 1.024 1.12 2.317 1.436 3.547.354 1.374.114 2.43-1.415 3.332-3.74 2.208-4.972 6.134-5.203 10.067-.208 3.536-1.642 5.075-4.81 6.515-9.6 4.362-16.494 11.868-21.99 20.696C6.19 154.217 0 182.957 0 182.957h136.843s-7.912-23.803-15.582-33.653c-1.787-2.296-4.123-4.163-5.954-6.43-.998-1.237-2.334-3.17-1.98-4.314.606-1.97 3.06-1.566 4.714-1.23 6.566 1.327 12.604-.03 18.425-3.043.652-.338 1.497-.412 2.254-.417 3.615-.026 6.433-1.64 8.77-4.265 1.41-1.588 1.618-3.48 1.167-5.433-.254-1.098-.714-2.172-1.23-3.182-1.62-3.178-1.554-3.078.804-5.625.55-.592.417-2.032.222-3.007-.108-.54-.993-.926-1.784-1.598 2.117-.383 4.08-.27 5.45-1.117 1.35-.835 2.183-2.59 3.094-4.033 1.152-1.826.344-3.304-1.604-4.776z"/></svg>
</div>

<div id='text2'>“ What is the son but an extension of the father ?... ”</div>


            
          
!
            
              body{
  background-color: #0a4137;
  overflow:hidden;
}

svg{overflow:visible;}

#symbols{
  position:absolute;
  left:50.5%; top:50%;
  transform:translate(-50%,-50%);
}




#container{
  background-color:rgba(255,255,255,0.5);
  padding:10px;
  width:175px;
  border-radius:10%;
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  box-shadow:0px 0px 50px 0px black;
  z-index:1;
  overflow:hidden;
  border:2px solid rgba(0,0,0,0.3);
  margin:0px;
}

#container::before { 
  content: "";
  width:100%;  height:100%;  position: absolute;
  top: 0px;  left: 0px;

background: -moz-linear-gradient(-45deg,  rgba(174,188,191,0) 0%, rgba(174,188,191,0.01) 1%, rgba(163,163,163,0.19) 34%, rgba(10,14,10,0.2) 35%, rgba(123,125,123,0.11) 65%, rgba(255,255,255,0.11) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(174,188,191,0)), color-stop(1%,rgba(174,188,191,0.01)), color-stop(34%,rgba(163,163,163,0.19)), color-stop(35%,rgba(10,14,10,0.2)), color-stop(65%,rgba(123,125,123,0.11)), color-stop(100%,rgba(255,255,255,0.11))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(-45deg,  rgba(174,188,191,0) 0%,rgba(174,188,191,0.01) 1%,rgba(163,163,163,0.19) 34%,rgba(10,14,10,0.2) 35%,rgba(123,125,123,0.11) 65%,rgba(255,255,255,0.11) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(-45deg,  rgba(174,188,191,0) 0%,rgba(174,188,191,0.01) 1%,rgba(163,163,163,0.19) 34%,rgba(10,14,10,0.2) 35%,rgba(123,125,123,0.11) 65%,rgba(255,255,255,0.11) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(-45deg,  rgba(174,188,191,0) 0%,rgba(174,188,191,0.01) 1%,rgba(163,163,163,0.19) 34%,rgba(10,14,10,0.2) 35%,rgba(123,125,123,0.11) 65%,rgba(255,255,255,0.11) 100%); /* IE10+ */
background: linear-gradient(135deg,  rgba(174,188,191,0) 0%,rgba(174,188,191,0.01) 1%,rgba(163,163,163,0.19) 34%,rgba(10,14,10,0.2) 35%,rgba(123,125,123,0.11) 65%,rgba(255,255,255,0.11) 100%); /* W3C */
}

#text{
  position:absolute;
  left:50%; top:25%;
  transform:translate(-50%,-50%);
  font-size:18vw;
  white-space: nowrap;
  font-family:'Oswald', tahoma;
  color:rgba(0,0,0,0.1);
}
#text2{
  font-size:3vw;
  position:absolute;
  left:50%; top:83%;
  transform:translate(-50%,-50%);
  white-space: nowrap;
  font-family:'Oswald', tahoma;
  color:silver;
  text-align:center;
}

#DiacoDesignLink,#pens{
  color: #fff;
}
            
          
!
            
              /* a Pen by Diaco m.lotfollahi  : https://diacodesign.com */


var X="M135.157 85.206c.396-.375.957-.57 1.188-.604 3.563-1.313 4.987-3.536 1.813-7.375-2.688-3.25-4.313-4.125-4.938-7.25s.28-2.313.688-3.438c-.326-.876-.975-3.01-.438-4.19 2.555-5.6.396-10.582-.23-13.145s-1.88-6.122-2.082-7.417c2.813-2.938 2.938-2.98 4.77-5.646 2.334-3.333 8.71-3.917 10.668-5 1.608-.89-1.805.21-2.833-1.792 1.667-.792 2.167-.125 4.708-.958-2.374-.292-16.668-1.09-18.166-2.375-.8-.687-7.562-11.98-14.896-17.313C96.74 1.04 96.012-1.538 79.74.872c-6.75 1-14 1.833-18 4.167-2.986 1.74-4.694 3.98-5.167 3.832-.377-.118-2.378 1.125-2.667 1.333-.364.262-3.105-.068-3.333.5-.256.637-1.508 2.67-1.833 3.167.167 5.5-7.208 7.125-13.333 16.5-3.375 6.812-4.03 7.063-3 14 .317 2.138 1.103 5.158 1.333 7.333C34.096 55.07-1.832 80.943.073 83.04c20 22 42.417-6.293 43.333-4.376s1.542 2.708 2 4.875.75 2.04 1.875 4.124 1 2.208 1.75 3.875 5.365 6.345 6.75 7.75c.565.57 1.747 5.52 2.5 4.874 4.376-3.75 3.234-2.343 4.126-.375.464 1.023 1.918 4.02 2.125 5.25.232 1.373-3.252-1.654-4.25-.75-2.436 2.207.126 2.624-3 5-3.25 2.874-9.04 9.523-11.624 13.75-2.75 4.5-3.75 9-8.5 18.75-4.75 13.5-3.038 15.935-3.038 15.935h85.17s-6.05-16.936-10.633-24.686-5.75-10.25-4.417-13.334c1.333-3.083-1.897-3.44-1.667-4.583.396-1.97 1-4.917 3.168-5.25 4.428-.68 4.61-.375 8.583.083 4.334.5 6.924.506 7.418.5 2.356-.026 3.917 0 5.333-1.167s2-1.918 2.918-3.918c.463-1.01.752-2.574.417-3.583-1.056-3.18 3.417-2.168 4.75-3.668.793-.892 1-3-.417-3.75-.482-.255-1.114-.74-1.63-1.412.963-1.42 3.547-1.67 4.213-3.088.668-1.417-.25-2.833-1-4.667-.744-1.826-.747-2.333-1.163-4z";

TweenMax.to("#face",2, { morphSVG:{shape:X},y:23,x:10,repeat:-1,yoyo:true,delay:2,repeatDelay:3,ease:Back.easeInOut});


var path=document.querySelector('.smoke');

for(var i=3;i--;){
  newPath = path.cloneNode();
  newPath.setAttribute("stroke-width",i*6);
  document.getElementById('symbols').appendChild(newPath);
}

var tl=new TimelineMax({repeat:-1,repeatDelay:5})
.staggerFromTo('.smoke',1.5,{drawSVG:'100% 100%'},{opacity:0.033,drawSVG:'30% 100%',ease:Linear.easeNone},0)
.staggerTo('.smoke',1.5,{opacity:0,drawSVG:'0% 0%'},0.3)

/* a Pen by Diaco m.lotfollahi  : https://diacodesign.com */
            
          
!
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