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 class="wrapper">
  <header>
    <div class="main__logo">
      <img src="https://www.dropbox.com/s/0quw59s7u9ye6kg/quake-logo--lg.png?raw=1" alt="Quake Champions official logo.">
    </div>
  </header>

  <div class="leader">
    <div class="leader__quote">
      <h6>Unleash the <span class="text--red">raw power</span> of Quake.</h6>
    </div>
    <div class="leader__screenshots">
      <div class="leader__screenshots__card">
        <img src="https://www.dropbox.com/s/tusfnz0ikjxlna3/screenshot-1--sm.jpg?raw=1" alt="A player shooting their gun.">
      </div>
      <div class="leader__screenshots__card">
        <img src="https://www.dropbox.com/s/q2862w7hc32ylhc/screenshot-2--sm.jpg?raw=1" alt="A player running by lava.">
      </div>
      <div class="leader__screenshots__card">
        <img src="https://www.dropbox.com/s/jgt1g5w9b2lp54w/screenshot-3--sm.jpg?raw=1" alt="A player using their special ability.">
      </div>
    </div>
  </div>

  <div class="content">
    <div class="content__title">
      <h2>Quake is Better <span class="text--red">than Ever</span></h2>
    </div>
    <p>The arena shooter that inspired generations of gamers and kicked-off modern day esports has evolved again with Quake Champions. Quake Champions introduces a roster of fierce Champions, each with unique attributes and abilities that provide an added
      layer of strategy to the frenetic combat that defined the genre. Select your Champions, race to grab your weapons and armor, and frag your way to victory. Prepare for the ultimate challenge of speed, skill, and style, all with a dose of unrelenting
      attitude!
    </p>
    <div class="content__button">
      <a href="https://quake.bethesda.net/en/" target="_blank" class="btn btn-danger btn-lg">Play Now</a>
    </div>
  </div>
  <div class="footer">
    <p>This page is fan-made, and not officially endorsed by <a href="https://bethesda.net/en/dashboard">Bethesda.</a></p>
  </div>
</div>
<div class="main__champ">
  <img src="https://www.dropbox.com/s/k5d2j0y48yidufg/champ6.png?raw=1" alt="Champion used as design.">
</div>
            
          
!
            
              $black-opaque: rgba(20, 20, 20, .8)
$main-grey: #ccc
$main-red: #f00
$media-md: 620px

@keyframes fadeIn
  from
    opacity: 0
  to
    opacity: 1
    
body
  background: url('https://www.dropbox.com/s/weq94nahddpjosq/background.jpg?raw=1') center center no-repeat
  background-size: cover
  color: $main-grey
  padding: 3rem
  img
    max-width: 100%
  @media (max-width: $media-md)
    padding: 1.5rem
    
.content
  background: $black-opaque
  border-radius: .5rem
  margin: 0 auto
  padding: 3rem
  width: 100%
  &__button
    text-align: center
  &__title
    text-align: center
    text-transform: uppercase
  @media (max-width: $media-md)
    h2
      font-size: 2rem
    p
      font-size: .8rem
      
.footer
  margin-top: 4rem
  text-align: center
  @media (max-width: $media-md)
    font-size: .6rem
    margin-top: 2rem
    
.leader
  margin: 0 auto
  width: 100%
  &__quote
    margin: 1.5rem
    text-align: center
  &__screenshots
    display: flex
    flex-wrap: wrap
    justify-content: space-between
    &__card
      background: $black-opaque
      border-radius: .5rem
      height: auto
      margin: 1.5rem auto
      padding: .5rem
      width: calc(33.33% - .5rem)
      img
        border-radius: .2rem
      @media (max-width: $media-md)
        margin: .2rem
        width: 100%
      
.main__champ
  left: 0
  position: absolute
  top: 0
  z-index: -1

.main__logo
  animation: 3s ease-in 1s 1 fadeIn
  animation-fill-mode: both6
  text-align: center
  width: 100%

.text
  &--red
    color: $main-red
    
.wrapper
  margin: 0 auto
  max-width: 60rem
  @media (max-width: $media-md)
    max-width: 100%
            
          
!
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