css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <!--<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>-->

<!-- HEADER -------------------------------------------------------------------------->
<header id="header">
  <!-- HEADER IMAGE ------------------------------------------------------------------>
  <div id="image-frame">
    <img id="header-img" class="logo" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_logo_02.png?alt=media&token=736def95-16b2-4953-804c-179eb2a0e576" />
  </div>
  
  <!-- PAGE LINKS -------------------------------------------------------------------->
  <nav id="nav-bar">
    <a class="nav-link" href="#intro-section">Features</a>
    <a class="nav-link" href="#specs-section">Specs</a>
    <a class="nav-link" href="#form">Contact</a>
  </nav>
</header>



<!-- CONTENT SECTION ----------------------------------------------------------------->
<main id="page-frame">
  <div id="content-frame" class="ladder-grid">
    
    <!-- MAIN PHOTO -------------------------------------------------------------------->
  <img id="gtx-01-photo" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/Brother_gtx_01.jpg?alt=media&token=bed23b35-a5b7-4a77-b7da-242bfaf266c3" />
    
    <!-- MACHINE FEATURES SECTION ------------------------------------------------------>
    <section id="intro-section" class="ladder-grid">
      
      <!-- REASONS WHY IT'S THE RIGHT CHOICE SECTION ----------------------------------->
      <section id="reasons-grid">
        
        
        <h2 id="intro-title">
          Why the GTX Printer is the Right Choice for Your Business.
        </h2>
        
        <article class="ladder-grid">
          <img class="intro-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_right-choice-speed.png?alt=media&token=b3525025-08c0-4e9f-9a1a-d28e26e50e1f" />
          <p>Production Speed</p>
        </article>

        <article class="ladder-grid">
          <img class="intro-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_right-choice-friendly.png?alt=media&token=22e4b756-d474-4291-af0e-81c138b19226" />
          <p>Operator Friendly</p>
        </article>

        <article class="ladder-grid">
          <img class="intro-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_right-choice-bright.png?alt=media&token=1410e4a0-b1dd-4f10-a535-cee656cef97a" />
          <p>Bright Colors</p>
        </article>

        <article class="ladder-grid">
          <img class="intro-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_right-choice-size.png?alt=media&token=7a03eaee-852d-46a3-a2cc-678864ff5da0" />
          <p>XL Print Size</p>
        </article>

        <article class="ladder-grid">
          <img class="intro-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_right-choice-eco.png?alt=media&token=6c962f18-4790-4321-84f6-17380cb3c6cd" />
          <p>Eco Friendly Inks</p>
        </article>

        <article class="ladder-grid">
          <img class="intro-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_right-choice-support.png?alt=media&token=e3ee0961-ebea-4f6b-80bb-acb6cbaecdf2" />
          <p>At Your Side Support</p>
        </article>
        
        
      </section>
      
      
      
      <!-- VIDEO DEMO SECTION ---------------------------------------------------------->
      <section id="video-section" class="spotlight-gradient">
        
        
        <h2 id="video-title">
          Watch the Demo to See it in Action.
        </h2>
        
        <!-- EMBEDDED VIDEO -->
      <div class="video-frame">
        <iframe id="video" src="https://player.vimeo.com/video/229572957" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
        </iframe>
        <script src="https://player.vimeo.com/api/player.js"></script>
      </div>
        
        
      </section>
      
    </section>
    
    
    
    
    <!-- SPECS SECTION ----------------------------------------------------------------->
    <section id="specs-section" class="ladder-grid">
      
      
      <h2>Machine Specs</h2>
    
      <img class="size-img" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother_specs.png?alt=media&token=5bae0257-a8c2-4b3f-bc9a-75f169f91054" />
      
      
      <div id="specs-grid-a">
        
        
        <article class="ladder-grid">
          <h3 class="spec-title">
            Size <small>(inches)</small>
          </h3>
          <p class="content">
            <strong>55"</strong><small>(W)</small> x <strong>51”</strong><small>(D)</small> x <strong>21”</strong><small>(H)</small>
          </p>
          
          <p class="content">
            <small>
              (<strong>1400</strong>mm x <strong>1290</strong>mm x <strong>535</strong>mm)
            </small>
          </p>
        </article>
        
        <article class="ladder-grid">
          <h3 class="spec-title">
            Weight
          </h3>
          <p class="content">
            <strong>260</strong><small>lb</small> <small><i>(approx.118kb)</i></small>
          </p>
        </article>
      
        <article class="ladder-grid" style="grid-area: 2/1/3/3;">
          <h3 class="spec-title">Maximum Platen Size</h3>
          <p class="content">
            <strong>16”</strong><small>(W)</small> x <strong>21”</strong><small>(H)</small> / <i><strong>40.6</strong>cm x <strong>53.3</strong>cm</i>
          </p>
        </article>
      
        <article class="ladder-grid" style="grid-area: 3/1/4/3; margin-top: 2em;">
          <h3 class="spec-title">Print Head</h3>
          <p class="content">
            On demand piezo head
          </p>
          <img class="size-img-b" src="https://firebasestorage.googleapis.com/v0/b/online-coding.appspot.com/o/brother-specs-ink-head.png?alt=media&token=634628e5-2196-4ed7-a32b-060cdd0c4cb8" />
        </article>
      
        <article class="ladder-grid">
          <h3 class="spec-title"># of Print Heads</h3>
          <p class="content">
            <strong>2</strong> print heads / <strong>8</strong> ink channels
          </p>
        </article>
      
        <article class="ladder-grid">
          <h3 class="spec-title">Print Resolution</h3>
          <p class="content">
            <strong>1200px</strong> X <strong>1200px</strong>
          </p>
        </article>
        
        <article id="operating-conditions" class="ladder-grid" style="grid-area: 5/1/6/3;">
          
          <h3 class="spec-title">Environment</h3>

          <div class="bar-grid-two" style="width: 100%; margin-top: 1em;">


            <div class="ladder-grid">
              <h3 class="conditions-title">Standby Conditions</h3>
              <p class="spec-subtitle">
                <strong>Temperature:</strong>
              </p>
              <p class="sub-content">
                50&#8457;&#40;10&#8451;&#41; - 95&#8457;&#40;35&#8451;&#41;
              </p>
              <p class="spec-subtitle">
                <strong>Humidity:</strong>
              </p>
              <p class="sub-content">
                20% - 85%
              </p>
            </div>

            <div class="ladder=grid">
              <h3 class="conditions-title">Operating Conditions</h3>
              <p class="spec-subtitle">
                <strong>Temperature:</strong>
              </p>
              <p class="sub-content">
                64&#8457;&#40;18&#8451;&#41; - 86&#8457;&#40;30&#8451;&#41;
              </p>
              <p class="spec-subtitle">
                <strong>Humidity:</strong>
              </p>
              <p class="sub-content">
                35% - 85%
              </p>
            </div>


          </div>

        </article>
        
        
      </div>
      
    </section>
    
    
    
    
    
    
    
    <!-- CONTACT SECTION -------------------------------------------------------------->
    <form id="form" class="ladder-grid spotlight-gradient" action="https://www.freecodecamp.com/email-submit" method="post">
      
      <h3>Speak to a Sales Rep</h3>
      
      <label id="fname-label" for="fname-input">
        <p>First Name</p>
        <input id="fname-input" name="fname" type="text" />
      </label>
      
      <label id="lname-label" for="lname-input">
        <p>Last Name</p>
        <input id="lname-input" name="lname" type="text" />
      </label>
      
      <label id="phone-label" for="phone-input">
        <p>Phone #</p>
        <input id="phone-input" name="phone" type="tel" />
      </label>
      
      <label id="business-label" for="business-input">
        <p>Business Name</p>
        <input id="business-input" name="business" type="text" />
      </label>
      
      <label id="email-label" for="email">
        <p>Email</p>
        <input id="email" name="email" placeholder="yourEmail@example.com" type="email" />
      </label>
      
      <label>
        <p>Questions</p>
        <textarea></textarea>
      </label>
      
      <input id="submit" type="submit" value="send" />
      
    </form>
    
  </div>
</main>
            
          
!
            
              /* MAIN PAGE ELEMENTS */
:root {
  --master-font-size:    12pt;
  --link-padding:        0 .44em;
  --body-grid-columns:   1fr 99% 1fr;
  --reason-grid-columns: 1fr 1fr;
  --bro-blue:            #005CAB;
 }

*{margin: 0; padding: 0;}

body{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 44px auto;
  justify-content: center;
  overflow: hidden;
  /*font-family:      'Raleway', sans-serif;*/
  font-family:      'Helvetica', sans-serif;
  font-size:        var(--master-font-size);
  background-color: var(--bro-blue);
}







/*GRIDS*/
.ladder-grid{
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  grid-auto-flow: row;
  justify-items: center;
}

#reasons-grid{
  display:               grid;
  justify-items:         center;
  grid-gap:              2em 0;
  grid-template-columns: var(--reason-grid-columns);
  grid-auto-rows:        auto;
  width:                 100%;
  background-color:      #FFF;
  padding-bottom:        3em;
}

#specs-grid-a{
  display:               grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows:        auto;
  grid-row-gap:          1em;
  width:                 100%;
}

.bar-grid-two{
  display:               grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows:    auto;
  align-items:           center;
  justify-items:         center;
}

#operating-conditions{
  margin-top: 2em;
}

#operating-conditions h3{
  text-align:    center;
  margin-bottom: .55em;
}







#content-frame{
  margin: 0 auto;
  width: 100%;
  min-width: 260px;
  max-width: 888px;
  /*background-color: red;*/
}

#intro-section{ width: 100%; }

#intro-title{ color: var(--bro-blue); }

#intro-section h2{
  grid-area:  1/1/2/3;
  text-align: center;
  font-size:  1.1em;
  padding:    1em .11em;
}

#intro-section article{ width: 44%; }

#intro-section article p{ text-align: center; font-size: .66em; }

.intro-img{
  width:     100%;
  max-width: 77px;
  height:    auto;
}







/* NAVIGATION */
header{
  grid-area:              1/1/2/2;
  background-color:      #FFF;
  filter:                drop-shadow(5px 0 6px #e4e4e4);
  width:                 100%;
  height:                44px;
  display:               grid;
  grid-template-columns: auto 1fr;
  grid-gap:              .33em;
  position:              fixed;
  top:                   0;
  left:                  0;
  z-index:               44;
}

#nav-bar{
  display:         flex;
  align-content:   center;
  align-items:     center;
  justify-content: flex-end;
}

.nav-link{
  text-decoration: none;
  width: auto;
  padding: var(--link-padding);
  font-size: .83em;
  color: #555
}







/* MAIN CONTENT */
#page-frame{
  width: 100%;
  height: calc(100vh - 44px);
  /*min-width: 260px;
  max-width: 888px;*/
  grid-area: 2/1/3/2;
  /*background-color: red;*/
  overflow-y: scroll;
}

#image-frame{ max-width: 33vw; margin: auto; padding: 0 .22em; }

.logo{ max-width: 100%; display: block; max-height: 33px; }

#gtx-01-photo{ width: 100%; }

.spotlight-gradient{
  background: -moz-radial-gradient(center, ellipse cover, #515151 0%, #2b2b2b 50%, #000000 100%); /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, #515151 0%,#2b2b2b 50%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, #515151 0%,#2b2b2b 50%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#515151', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}






/*VIDEO SECTION*/
#video-section{ width: 100%; color: #FFF; }

.video-frame{
  width:    92%;
  margin:   3em auto;
  padding:  56.25% 0 0 0;
  position: relative;
}







/*Machine Specs Section*/
#specs-section{
  width:            100%;
  background-color: #FFF;
  padding-bottom:    2em;
}

#specs-section h2{ padding: 2em 0; }

#specs-section .content{ color: #555; }

#specs-section .sub-content{ color: red; }

.conditions-title{ color: #555; }

.spec-title{ color: var(--bro-blue); }

.spec-subtitle{ color: #222; }

.size-img{
  max-width: 88%;
  display:   block;
  height:    auto;
  margin:    3em auto;
}

.size-img-b{
  width:      100%;
  max-width:  190px;
  display:    block;
  height:     auto;
  margin-top: .77em;
}

#specs-grid-a article h3{
  font-size: .92em;
}

#specs-grid-a article p{
  width:     100%;
  font-size: .77em;
  text-align: center;
}







/*Contact Section*/
#form{ color: #FFF; width: 100%; padding: 2em 0; grid-row-gap: .88em; }

#form h3{ margin-bottom: 2em; }

label{ font-size: .77em; width: 77%; max-width: 333px; }

label input{ width: 100%; }

label textarea{
  width: 100%;
  height: 9em;
  resize: none;
}

#submit{ margin: 3em 0; width: 44%; max-width: 182px; height: 33px; }







@media screen and (min-width: 400px){
  :root{ --reason-grid-columns: 1fr 1fr 1fr; }
  
  #intro-section h2{
    grid-area: 1/1/2/4;
    font-size: 1.4em;
    padding:   2em .11em;
  }
}

@media screen and (min-width: 555px){
  :root{ --master-font-size: 16pt; }
}
            
          
!
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