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.

            
              <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">

<div class="container">
    <span class="line-1">the</span>
    <span class="line-2">Vintage</span>
    <span class="line-3">typography experiment</span>
    <span class="line-5"><a href="https://github.com/codrops/Arctext">Archtext.js</a><a href="https://codepen.io/zambo/pen/jKEDp/">Codepen.io</a></span>
    <span class="line-6">2014</span>
</div>
            
          
!
            
              @import compass

@import url(https://fonts.googleapis.com/css?family=PT+Sans:700|Pacifico|Changa+One)
    
body
  background: #ffffff url(https://subtlepatterns.com/patterns/groovepaper.png) repeat
  color: #000000

.container
  font-family: 'Pacifico', cursive
  font-weight: 400
  position: relative
  margin: 80px auto
  width: 600px
  font-size: 30px
  text-align: center
  +opacity(0.8)

span
  display: block


.line-1
  position: relative
  &:before, &:after
    content: "\f005"
    font-family: FontAwesome
    position: relative
    font-style: normal
    font-weight: normal
    text-decoration: inherit
    font-size: 16px
    margin: -0 30px
    top: -5px
  
.line-2
  font-family: 'Changa One', sans-serif
  font-weight: 400
  text-transform: uppercase
  font-size: 90px
  letter-spacing: 15px
  margin: 0 0
  
.line-3
  font-family: 'PT Sans', sans-serif
  font-weight: 700
  font-size: 16px
  text-transform: uppercase
  margin: 70px 0 0
  position: relative
  letter-spacing: 6px
  
  &:before, &:after
    content: " "
    position: absolute
    width: 50px
    height: 5px
    border-top: 1px solid #222222
    border-bottom: 1px solid #222222
  &:before
    margin: 7px 0 0 -60px
  &:after
    margin: 7px 0 0 10px
  
.line-4
  width: 100%
  position: relative
  font-size: 18px
  margin: 50px 0 0
  //@include transform(rotate(-8deg))

  
.line-5
  margin: 20px 0 50px
  position: relative
  text-align: center
  margin: 50px auto
  display: block
  font-size: 20px
  a
    text-decoration: none
    display: inline-block
    text-align: left
    color: #222
    &:nth-child(1)
      text-align: right
      &:after
        content: "\f005 "
        font-family: FontAwesome
        font-style: normal
        font-weight: normal
        text-decoration: inherit
        position: relative
        font-size: 30px
        text-align: center
        width: 90%
        top: 4px
        margin: 0
        padding: 0 20px
      
  
.line-6
  font-family: 'PT Sans', sans-serif
  font-size: 16px
  letter-spacing: 5px
  &:before, &:after
    content: "\f068"
    font-family: FontAwesome
    font-style: normal
    font-weight: normal
    text-decoration: inherit
    position: relative
    font-size: 16px
    margin: 0 10px
    top: 2px
            
          
!
            
              /* This demo Uses Acrtext.js
// https://github.com/codrops/Arctext/
// Inspiration from: https://blog.spoongraphics.co.uk/freebies/6-free-customizable-retrovintage-logos-emblems
*/

$(document).ready(function() {
  $(".line-2").arctext({radius: 700});
});
            
          
!
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