123

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.

            
              <div class="container">
  <div class="word_split wrapper">
  <span class="word word1"> Antony </span>
  <span class="word word2">Smith</span>
  <span class="word word3">Personal</span>
  <span class="word word4">Details</span>
  <span class="word word5">Employment</span>
  <span class="word word6">History </span>
  <span class="word word7">Education</span>
  <span class="word word8">Personal</span>
  <span class="word word9">Skills </span>
  <span class="word word10">Technical</span>
  <span class="word word11">Skills </span>
  <span class="word word12">Get In </span>
  <span class="word word13">Touch</span>
    
    <div class="bubble1">
     <span class="the-arrow1"></span>
      HI! <br/> I AM..
   </div>
  <div class="bubble2">
     <span class="the-arrow2"></span>
    <img src="https://dribbble.s3.amazonaws.com/users/10958/screenshots/271458/librarian.jpg"/>
   </div>
  <div class="bubble3">
     <span class="the-arrow3"></span>
    NATIONALITY...<br/>
    LOCATION...<br/>
    BIRTHDAY...<br/>
    HOBBIES<br/>
    ETC...<br/>
    ETC...<br/>
   </div>
  <div class="bubble4">
     <span class="the-arrow4"></span>
    GRAPHIC DESIGNER 2005 - 2007<br/>
    Lorem Ipsum dolor sit amet. Lorem Ipsum dolor.<br/><br/>
    CREATIVE DIRECTOR 2008 - Current
    <br/>
    Lorem Ipsum dolor sit amet.
    
   </div>
  <div class="bubble5">
     <span class="the-arrow5"></span>
    HIGH SCHOOL<br/>
    Lorem Ipsum dolor sit amet<br/>
    May 2004, GPA 1.5<br/><br/>
    UNIVERSITY <br/>
    Lorem Ipsum dolor sit amet<br/>
    July 2007, GPA 1.5
    
   </div>
  <div class="bubble6">
     <span class="the-arrow6"></span>
    SOCIAL COMMITMENT<br/>
    ORGANIZATION<br/>
    CREATIVITY<br/>
    COMMUNICATION<br/>
    TEAMWORK<br/>
   </div>
  <div class="bubble7">
     <span class="the-arrow7"></span>
    PHOTOSHOP<br/>
    ILLUSTRATOR<br/>
    INDESIGN<br/>
    FLASH<br/>
    DREAMWEAVER<br/>
    XHTML/CSS<br/>
    JAVASCRIPT<br/>
   </div>
  <div class="bubble8">
     <span class="the-arrow8"></span>
    PHONE...<br/>
    EMAIL...<br/>
    WEBSITE... <br/>
    TWITTER...<br/>
    FACEBOOK...<br/>
    DRIBBBLE...<br/>
   </div>   
</div>
   
</div><!--end container-->

            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=BenchNine:700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);

*{margin:0; padding:0; box-sizing:border-box;}
html,body{
  height:100%; 
  /* The old syntax, deprecated, but still needed, prefixed, for WebKit-based and old browsers */
  background: linear-gradient(left, #E7E7E7, white,#E7E7E7);
  /* The new syntax needed by standard-compliant browsers (Opera 12.1, IE 10, Fx 16 onwards), without prefix */
  background: linear-gradient(to right, #E7E7E7, white,#E7E7E7);
}
.container{
  width:100%;
  height:100%;
}
.arrow(@top, @left, @color, @border-size:20px){
  display:inline-block;
  width: 0; 
  height: 0; 
  border-left: @border-size solid transparent;
  border-right: 0px solid @color;
  border-bottom: @border-size solid @color;
  position:absolute;
  top: @top;
  left: @left;
}
.border-radius(@top-left, @top-right, @bottom-right, @bottom-left){
  border-top-left-radius:@top-left;
  border-top-right-radius: @top-right;
  border-bottom-right-radius: @bottom-right;
  border-bottom-left-radius: @bottom-left;
}
.bubble(@color, @height:150px, @width:250px){
  height:@height;
  width:@width;
  padding:20px;
  position:absolute;
  color:white;
  background-color:@color;
  font-family:"Open Sans Condensed";
}
.wrapper{
  width:270px;
  margin:50px auto;
  position:Relative;
}

.word{
  display:block;
  text-align:justify;
  font-family: "BenchNine";
  line-height:0.8;
  text-transform:uppercase;
  letter-spacing:0px;
}
.word1, .word2 {color:#9BC5DE}
.word3, .word4 {color:#90B3C9}
.word5, .word6{color:#809BB0}
.word7 {color:#6B7B8A}
.word8, .word9{color:#8B8091}
.word10, .word11{color:#B68FA2}
.word12, .word13{color:#D99AB5}

.word1{font-size:6.3em}
.word2{font-size:8.1em}
.word3{font-size:4.8em}
.word4{font-size:6.4em}
.word5{font-size:3.8em}
.word6{font-size:6em}
.word7{font-size:4.5em;}
.word8{font-size:4.8em}
.word9,.word11{font-size:7.9em;}
.word10{font-size:4.9em}
.word12{font-size:8.2em;}
.word13{font-size:7.8em;}

.bubble1{
  .bubble(#99C5DE, 75px, 75px);
  .border-radius(0,20px,0,20px);
  top:0;
  left:-100px;
  padding:10px;
  font-size:1.5em;
  line-height:1;
  span.the-arrow1{
    .arrow(63px, 75px, #99C5DE, 12px);
    transform:rotateY(180deg);
  }
}
.bubble2{
  .bubble(#99C5DE, 150px, 170px);
  .border-radius(30px , 0 , 30px, 0);
  left:100%;
  top:20px;
  span.the-arrow2{
    .arrow(130px, -19px, #99C5DE);
  }  
  img{
    .border-radius(20px,0,20px, 0);
    background:white;
    display:block;
    width:100%;
    height:100%;
  }
}
.bubble3{
  .bubble(#90B2CB, 200px);
  .border-radius(30px , 0 , 30px, 0);
  top:183px;
  left:-280px;
  span.the-arrow3{
    .arrow(0, 250px, #90B2CB);
    transform:rotate(180deg);
  }
}
.bubble4{
  .bubble(#809BAE,180px);
  .border-radius(30px , 0 , 30px, 0);
  top:260px;
  left:280px;
  span.the-arrow4{
    .arrow(160px, -19px, #809BAE);
  }
}
.bubble5{
  .bubble(#697A8A, 200px);
  .border-radius(30px , 0 , 30px, 0);
  top:450px;
  left:-280px;
  span.the-arrow5{
    .arrow(0, 250px, #697A8A);
    transform:rotate(180deg);
  }
}
.bubble6{
  .bubble(#8B8091,180px);
  .border-radius(0, 30px , 0 , 30px);
  top:509px;
  left:280px;
  line-height:1.8;
  span.the-arrow6{
    .arrow(0px, -19px, #8B8091);
    transform:rotateX(180deg);
  }
}
.bubble7{
  .bubble(#B68EA6, 200px);
  .border-radius(30px , 0 , 30px, 0);
  top:675px;
  left:-280px;
  span.the-arrow7{
    .arrow(0, 250px, #B68EA6);
    transform:rotate(180deg);
  }
}
.bubble8{
  .bubble(#D99AB5,180px);
  .border-radius(30px , 0 , 30px, 0);
  top:853px;
  left:280px;
  span.the-arrow8{
    .arrow(160px, -19px, #D99AB5);
  }
}
            
          
!
            
              /*
VIEW IN FULL MODE :: IT LOOKS MUCH BETTER WHEN VIEWED IN FULL MODE


my intention was to use lettering.js to create the word* classes, but for some reason it didn't generate them even after including the script and calling it, it works locally but not on codepen*/

/*

Librarian Image is from Dribbble: http://dribbble.com/shots/271458-Librarian 
by talented "Artua"

*/
            
          
!
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.

Console