Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

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 id="header-bar"></div>
  <header id="header">
    <div class="logo">
      <img
          id="header-img"
          class="responsive"
          src="https://www.koruashapes.com/media/image/84/47/f0/korua-logo.png"
          alt="Korua Shapes logo"
           />
    </div>
    
      <nav id="nav-bar">
        <ul>
          <li><a class="nav-link" href="#who-we-are">Who We Are</a></li>
          <li><a class="nav-link" href="#in-action">In Action</a></li>
          <li><a class="nav-link" href="#boards">Boards</a></li>
          <li><a class="nav-link" href="#contact-div">Contact Us</a></li>
        </ul>
    </nav>
  </header>
  
  <section id="who-we-are">
    <p id="who-we-are-para"> Korua was born of a group of friends in Germany in 2014, spearheaded by ecopsychologist and snowboard pro Nicolas Wolken. The idea was simple. Make fun, reliable boards that excel at the essence of snowboarding, making turns and riding powder. While each board has it's own unique characteristics, this core design philosophy, along with the signature minimalist design of white-top-sheet, black-text, red-bottom, is the common thread that unites every Korua. </p>
  </section>           
  
  <section id="in-action">
    <iframe 
            id="video"
            width="560" 
            height="315"
            src="https://www.youtube.com/embed/1S2gxO0QhQY"
            allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" 
            allowfullscreen></iframe>
  </section>
  
  <div class="container"></div>
  
  <div id="boards">
    <figure id="img-div">
      <img
           id="tranny-finder"
src="https://www.koruashapes.com/media/image/56/89/07/KoruaShapes_ProductImages_TrannyFinder57_Web_600x600.jpg"
           class="responsive"
           alt="tranny-finder-board-image">
    <img
         id="dart"
         class="responsive"
         src="https://www.koruashapes.com/media/image/be/f5/8e/KORUA-Shapes-Classic_ProductImages_Dart56_LowRes_Web_600x600.jpg"
         alt="dart-board-image">
  <img
       id="cafe-racer"
       class="responsive"
       src="https://www.koruashapes.com/media/image/88/ed/bd/KORUA-Shapes-Classic_ProductImages_CafeRacer59_LowRes_Web_600x600.jpg"
       alt="cafe-racer-board-image">
           </figure>
      </div>

<section id="pricing">
      <div class="product" id="tranny-finder-shop">
        <div class="level"><a href="https://www.koruashapes.com/classic/model/tranny-finder" target="_blank">Tranny Finder</a></div>
        <h2>$500</h2>
        <ol>
          <li>All-mountain directional machine.</li>
        </ol>
      </div>
      <div class="product" id="dart-shop">
        <div class="level"><a href="https://www.koruashapes.com/classic/model/dart" target="_blank">Dart</a></div>
        <h2>$550</h2>
        <ol>
          <li>Versatile swallow tail for on and off piste. </li>
        </ol>
      </div>
      <div class="product" id="cafe-racer-shop">
        <div class="level"><a href="https://www.koruashapes.com/classic/model/cafe-racer" target="_blank">Cafe Racer</a></div>
        <h2>$550</h2>
        <ol>
          <li>Softboot carver made for drawing unmistakable lines.</li>
        </ol>
      </div>
    </section>

<div id="contact-div">
   <figure id="img-div-contact">
    <h2> Talk to the Team </h2>
    <form id="form" action="/action_page.php">
      <input
             name="email"
             id="email"
             type="email"
             placeholder="Enter your email address"
             required>
       <div class="comment-box">
     <textarea
                id="comments"
                class="input-textarea"
                name="comment"
                placeholder="Send us your message"
                required
                ></textarea>
         <input 
             id="submit" 
             type="submit" 
             value="Get In Touch" 
             class="btn">
         </figure>
     </form>
    </div>
    

<div id="footer">
<footer>
      <ul>
        <li><a href="#">Privacy</a></li>
        <li><a href="#">Terms</a></li>
      </ul>
      <span>Copyright 2021, Korua Shapes</span>
    </footer>
  </div>
        
    
    
    
    
    
    
     
      
     
              
            
!

CSS

              
                html {
  font-size: 62.5%;
}

@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

body {
  background-color: #eee;
  font-family: "rubik", sans-serif;
  font-weight: 700;
}

.responsive {
  max-width: 100%;
  height: auto;
}

#header-bar {
  position: absolute;
}

li {
  list-style: none;
}

.nav-link {
  color: #000;
  text-decoration: none;
}

header {
  top: 0;
  min-height: 5em;
  padding: 0px 0px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  margin-top: 0px;
  position: sticky;
  font-weight: 700;
  height: auto;
  width: 100%;
  font-size: 1.5em
}

@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
  }
}

nav > ul {
  width: 35vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

@media (max-width: 650px) {
  nav > ul {
    flex-direction: column;
  }
}

#in-action {
  margin-top: 3em;
  margin-bottom: 3em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#who-we-are {
  margin-top: 3em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
}

p {
  margin-top: 2.75em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 12.5em;
  margin-right: 12.5em;
  font-weight: 700;
  font-size: 1.25em;
}

@media (max-width: 650px) {
  p {
    margin-left: 10px;
    margin-right: 10px;
  }
}

#email {
  margin-bottom: 1.5em;
}

#comments {
  margin-bottom: 1em;
  min-height: 7.5em;
  width: 31em;
}

#boards {
  display: flex;
  flex-direction: column;  
}

@media (max-width: 800px) {
  #boards {
    display: flex;
    flex-direction: column; }
  }


#tranny-finder {
max-width: 100%;
  height: auto;
  margin-top: 10px;
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 50px;
}

@media (max-width: 650px) {
  #cafe-racer {
    display: flex;
    flex-direction: row;
    margin: 0px 0px 0px 0px;
  }
}

#dart {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 50px;
}

#cafe-racer {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  margin-left: 100px;
  margin-bottom: 50px;
}

#img-div {
  background: white;
  margin-bottom: 50px;
  max-width: 100%;
  height: auto;
}

#pricing {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10px;
  border: 1px solid #000;
  border-radius: 3px;
  margin-bottom: 1;
  background-color: #c72e2e;
  height: 150px;
  padding: 10px;
  width: calc(100% / 3);
  font-size: 1.5em;
}

.product > .level {
  background-color: #ddd;
  color: black;
  padding: 15px 0;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.75rem;
}

@media (max-width: 800px) {
  .product > ol > li {
    display: flex;
    justify-content: center;
    font-size: 1em;
  }
}

a{
  text-decoration: underline;
  color: black;
}

a:hover{
  text-decoration: underline;
  color: red;
}

.product > h2 {
  margin-top: 15px;
}

.product > ol {
  margin: auto;
}

.product > ol > li {
  padding: 5px 0;
  display: flex;
  width: 90%;
  text-align: center;
}

@media (max-width: 800px) {
  .product {
    flex-direction: column; 
    justify-content: center; }
  }

#contact-div {
display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  width: 100%;
  margin-top: 1.5em;
  margin-left: auto;
  margin-right: auto;
}

#img-div-contact {
  background: white;
  height: 300px;
  width: 700px;
  display: block;
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

textarea {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

  #footer {
  float: right;
  background-color: #eee;
  margin-top: 2em;
  padding: 20px; 
  height: 50px;
  width: 1000px;
  font-size: 1.5em;
}

footer > ul {
  display: flex;
  justify-content: flex-end;
}

footer > ul  > li {
  padding: 0em 1em;
}

footer > span {
  margin-top: .35em;
  display: flex;
  justify-content: flex-end;
  font-size: 0.9em;
  color: #444;
}
  










              
            
!

JS

              
                
              
            
!
999px

Console