【CSS】スターウォーズのイントロを表現できるライブラリ「starwarsintro.css」

スターウォーズで有名な奥行感のあるスクロールテキストを実装できるCSSライブラリ。アイデア次第ではインパクトのある面白いコンテンツが作れそうです。

Star Wars Intro

使い方はダウンロードした「starwarsintro.css」を読み込ませます。

CSS File
<link href="/css/starwarsintro.css" rel="stylesheet" type="text/css">

あとは以下のようにhtmlを記述すれば完成です。

html
<!-- Place in document head -->
<link rel="stylesheet" href="/path/to/starwarsintro.css">

<div class="star-wars-intro">

  <!-- 最初に表示される青字テキスト -->
  <p class="intro-text">
    A few days ago, during...
  </p>

  <!-- 続いて表示される画像かテキスト -->
  <h2 class="main-logo">
    <img src="img/star-wars-intro.png">
  </h2>

  <!-- スクロール表示されるコンテンツ -->
  <div class="main-content">

    <div class="title-content">
      <p class="content-header">EPISODES IV-VI<br/>A Movie Marathon</p>

      <br>

      <p class="content-body">
        After years of galactic silence, civilization is on the brink of a new Star Wars release. Now, with the Force preparing to awaken, the people of Earth seek solace in films of old. With nowhere to turn, they gather in great numbers and watch the original trilogy without rest. Three films. 6 hours. 24 minutes. Popcorn. Slushies. Total elation.
      </p>

      <a href="./StarScroll.zip" class="space-button">Download The Code Now!</a>
        
    </div>
  </div>
</div>


\ Webデザインに関するお役立ち情報を定期的に配信中 /

Follow @webclips_jp

  • WordPressの使い方を分かりやすく解説 【初心者向け】
  • おすすめのホームページ作成サービス【無料版・有料版】
  • Google Fontsの使い方とおすすめ日本語フォント
  • Adobe CC(Creative Cloud)を安く買う方法
  • Photoshopの代替になる画像編集・加工ツール
  • WordPressのおすすめテーマ(無料版/有料版)
RecentPosts
  • 無料で使えるフリーイラスト素材サイト50選(商用利用可)
  • 【2023年6月】Adobeのセール時期はいつ頃? Adobeセールの最新情報
  • 【2023年6月版】WordPress対応のおすすめレンタルサーバー比較 ( 初心者向け )
  • 【2023年度】Adobe CC(Creative Cloud)を安く買う方法
  • 配色・色の組み合わせを決める時に役立つカラーパレット24選
WordPress対応! 初心者におすすめのレンタルサーバー特集
PopularPosts
  • 無料で使えるフリーイラスト素材サイト50選(商用利用可)
  • 漢字が使える日本語フリーフォント97選(商用利用可)
  • 無料で使える日本語・英語のかわいいフリーフォント20選
  • フォントを調べる時に役に立つツール・サイト10選
  • 無料で使えるおしゃれな英語の筆記体フリーフォント20選