Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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="fade"></div>

<section class="star-wars">
  <div class="crawl">
    <div class="title">
      <p>Comics about Free/Open Source Software</p>
      <h1>Firefox</h1>
    </div>
    
    <p>뒤늦게 웹의 중요성을 깨달은 마이크로소프트는 1994년 모자익 소스코드를 구입해서 새로운 웹 브라우저인 인터넷 익스플로러를 개발하기 시작한다. 그리고 불과 1년만에 인터넷 익스플로러 1.0을 출시하여 윈도95 사용자에게 무료로 제공한다. 이는 기업 사용자에게 비용을 받고 있었던 넷스케이프 사업 모델에 큰 위협이 된다.</p>
      
      <p>1997년 출시된 IE 3.0버전 부터 경쟁력을 잃기 시작한 넷스케이프는 같은 해 부터 IE를 따라 잡기 위해 Gecko라는 차세대 엔진을 개발을 시작하지만, 결국 MS와 경쟁에 밀려 1998년 3월 넷스케이프 네비게이터와 Gecko엔진 소스코드를 공개하고 오픈소스 개발 활동을 지원 모질라(Mozilla)라는 팀을 만든다.</p>

    <p>그럼에도 불구하고 넷스케이프 네비게이터의 시장 점유율은 5%이하로 떨어지고 1998년 결국 AOL에 인수된다. Gecko기반 브라우저 개발은 지연되었고 웹 브라우저 시장의 96%를 장악한 2001년 이후 IE6.0를 마지막으로 새로운 브라우저를 릴리스하지 않고 웹의 어둠의 시대가 시작되는데…</p>
  </div>
</section>
              
            
!

CSS

              
                body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.fade {
  position: relative;
  width: 100%;
  min-height: 60vh;
  top: -25px;
  background-image: linear-gradient(0deg, transparent, black 75%);
  z-index: 1;
}

.star-wars {
  display: flex;
  justify-content: center;
  position: relative;
  height: 800px;
  color: #feda4a;
  font-family: 'Pathway Gothic One', sans-serif;
  font-size: 500%;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 150%;
  perspective: 400px;
  text-align: justify;
}

.crawl {
  position: relative;
  top: 99999px;
  transform-origin: 50% 100%;
  animation: crawl 60s linear;
}

.crawl > .title {
  font-size: 90%;
  text-align: center;
}

.crawl > .title h1 {
  margin: 0 0 100px;
  text-transform: uppercase;
}

@keyframes crawl {
	0% {
    top: -100px;
    transform: rotateX(20deg)  translateZ(0);
  }
	100% { 
    top: -6000px;
    transform: rotateX(25deg) translateZ(-2500px);
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console