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

              
                  <!-- STORY BEGINS -->
  <nav class="navbar navbar-expand-md navbar-dark bg-black">
    <a class="navbar-brand font-weight-bold home-title" href="#">Noxu</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <!-- EVERYTHING INSIDE HAMBURGER -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav mr-auto">
        <!-- NAV ITEM -->
        <li class="nav-item active">
          <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
        </li>
        <!-- NAV ITEM -->
        <li class="nav-item">
          <a class="nav-link" href="#">Woman</a>
        </li>
        <!-- NAV ITEM -->
        <li class="nav-item">
          <a class="nav-link" href="#">Man</a>
        </li>
        <!-- NAV ITEM -->
        <li class="nav-item">
          <a class="nav-link" href="#">Unisex</a>
        </li>
        <!-- NAV ITEM -->
        <li class="nav-item dropdown">
          <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            Accessories
          </a>
          <div class="dropdown-menu" aria-labelledby="navbarDropdown">
            <a class="dropdown-item" href="#">Watches</a>
            <a class="dropdown-item" href="#">Chains</a>
            <a class="dropdown-item" href="#">Earings</a>
            <a class="dropdown-item" href="#">Hats</a>
          </div>
        </li>
      </ul>
      <!-- SEARCH BAR -->
      <form class="form-inline my-2 my-lg-0">
        <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
        <button class="btn btn-outline-primary my-2 my-sm-0" type="submit">Search</button>
      </form>
    </div>
  </nav>

  <!-- PHOTO -->
  <section id="main-photo" class="text-center">
    <div class="container-fluid">
      <div class="row">
        <div class="col">
          <h2 class="font-weight-bold mt-3 text-uppercase">Limited Collection</h2>
          <div class="d-flex justify-content-between">
            <div class="col-md-3 image-link mt-4 mainImage-text pb-5">
              <p class="text-center font-weight-bold text-medium font-roboto py-5">
                Check out our hottest
                <span class="text-primary">
                  new
                </span>
               summer collection
              </p>
              <div class="btn btn-outline-light text-medium text-center  px-4 mb-3">
                <p class="p-2 m-0">View</p>
              </div>
            </div>
            <div class="col-md-6">
              <p class="text-center text-medium color-light font-roboto font-italic text-white">
                Noxu Fabrics International
              </p>
            </div>
            <div class="col-md-3 mainImage-text pt-5">
              <p class="text-center text-medium pt-5 font-roboto font-italic">
                "Built to last, <br />
                built to love."
              </p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- SECTION CARDS -->
  <section id="featured-products" class="section-cards">
    <div class="container">
      <div class="row">
        <div class="col-sm-12 text-center mt-3">
          <div class="btn btn-outline-light text-medium font-weight-bold mt-4 ">
            <p class="p-2 m-0">View All</p>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="col">
          <h2 class="font-roboto text-center font-weight-bold text-large pt-2 m-4">Featured Products</h2>
        </div>
      </div>
      <!-- ROW OF CARDS -->
      <div class="row d-flex justify-content-center ">
        <!-- COL 4/12 -->
        <div class="col-lg-4 col-md-6 p-3">
          <div class="card featured-border">
            <div class="card-image">
              <img class="card-img-top" src="https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80" alt="image-featured-1" />
            </div>
            <div class="img-body d-flex justify-content-between">
              <p class="card-body text-dark p-1 d-flex justify-end"> Abnormality Plain White </p>
              <p class="text-dark p-1"> $17.99 </p>
            </div>
            <!-- STARS -->
            <div class="d-flex justify-content-start pt-0 text-dark ml-1 mb-1">
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star-half"></i>
            </div>
          </div>
        </div>
        <!-- COL 4/12 -->
        <div class="col-lg-4 col-md-6 p-3">
          <div class="card featured-border">
            <div class="card-image">
              <img class="card-img-top img-fluid" src="https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/square/denemJacket.jpg" alt="image-featured-1" />
            </div>
            <div class="img-body d-flex justify-content-between">
              <p class="card-body text-dark p-1 d-flex justify-end"> Denim Jacket </p>
              <p class="text-dark p-1"> $49.99 </p>
            </div>
            <!-- STARS -->
            <div class="d-flex justify-content-start pt-0 text-dark ml-1 mb-1">
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star-half"></i>
            </div>
          </div>
        </div>
        <!-- COL 4/12 -->
        <div class="col-lg-4 col-md-6 d-md-none d-lg-block p-3">
          <div class="card featured-border">
            <div class="card-image">
              <img class="card-img-top" src="https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/square/jacket.jpeg" alt="image-featured-1" />
            </div>
            <div class="img-body d-flex justify-content-between">
              <p class="card-body text-dark p-1 d-flex justify-end">Dark Red Bomber</p>
              <p class="text-dark p-1"> $39.99 </p>
            </div>
            <!-- STARS -->
            <div class="d-flex justify-content-start pt-0 text-dark ml-1 mb-1">
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star-half"></i>
            </div>
          </div>
        </div>
        <!-- COL 4/12 -->
        <div class="col-lg-4 col-md-6 p-3">
          <div class="card featured-border">
            <div class="card-image">
              <img class="card-img-top" src="https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/square/rippedJeans.jpg" alt="image-featured-1" />
            </div>
            <div class="img-body d-flex justify-content-between">
              <p class="card-body text-dark p-1 d-flex justify-end"> Ripped Blue </p>
              <p class="text-dark p-1"> $39.99 </p>
            </div>
            <!-- STARS -->
            <div class="d-flex justify-content-start pt-0 text-dark ml-1 mb-1">
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star-half"></i>
            </div>
          </div>
        </div>
        <!-- COL 4/12 -->
        <div class="col-lg-4 col-md-6 p-3">
          <div class="card featured-border">
            <div class="card-image">
              <img class="card-img-top" src="https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/square/shirt.jpeg" alt="image-featured-1" />
            </div>
            <div class="img-body d-flex justify-content-between">
              <p class="card-body text-dark p-1 d-flex justify-end"> Spooky Fingers </p>
              <p class="text-dark p-1"> $34.99 </p>
            </div>
            <!-- STARS -->
            <div class="d-flex justify-content-start pt-0 text-dark ml-1 mb-1">
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star-half"></i>
            </div>
          </div>
        </div>
        <!-- COL 4/12 -->
        <div class="col-lg-4 col-md-6 d-md-none d-lg-block p-3">
          <div class="card featured-border">
            <div class="card-image">
              <img class="card-img-top" src="https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/christmas.jpeg" alt="image-featured-1" />
            </div>
            <div class="img-body d-flex justify-content-between">
              <p class="card-body text-dark p-1 d-flex justify-end"> Early X-Mas Party </p>
              <p class="text-dark p-1"> $44.99 </p>
            </div>
            <!-- STARS -->
            <div class="d-flex justify-content-start pt-0 text-dark ml-1 mb-1">
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star"></i>
              <i class="fas fa-star-half"></i>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- SECTION: BROWSE ITEMS -->
  <section id="cloth-categories" class="section-browse-items">
    <div class="container">
      <!-- HEADER FOR SECTION-->
      <div class="row">
        <div class="col-sm-12">
          <h2 class="font-roboto text-center font-weight-bold text-large pb-3 m-5">Browse Items</h2>
        </div>
      </div>
      <div class="row">
        <!-- COL 8/12 -->
        <div class="col-md-8">
          <a href="#" class="text-decoration-none">
            <div class="imgBox" id="image-shoes">
              <h2 class="text-center text-light p-3">
                Shoes
              </h2>
            </div>
          </a>
          <!-- ROW INSIDE COL, HOLDS 2 SMALL SQARES -->
          <div class="row">
            <div class="col-md-6">
              <a href="#" class="text-decoration-none">
                <!-- SMALLER BLOCK -->
                <div id="image-jeans" class="text-center imgBox">
                  <h2 class="text-light p-3">
                    Jeans
                  </h2>
                </div>
              </a>
            </div>
            <!-- SMALLER BLOCK -->
            <div class="col-md-6">
              <a href="#" class="text-decoration-none">
                <div id="image-shirts" class="imgBox">
                  <h2 class="text-center text-light p-3">
                    Shirts
                  </h2>
                </div>
              </a>
            </div>
          </div>
        </div>
        <!-- COL 4/12 -->
        <div class="col-md-4">
          <a href="#" class="text-decoration-none">
            <div id="image-outfits" class="imgBox">
              <h2 class="text-center text-light p-3">
                Outfits
              </h2>
            </div>
          </a>
        </div>
      </div>
    </div>
  </section>

  <!-- FOOTER -->
  <footer id="footer" class="container-fluid p-4" style="background-color: #323232;">
    <!-- ROW HEADER -->
    <div class="row">
      <div class="col">
        <h2 class="font-roboto text-center font-weight-bold text-large pb-3 m-5 border-bottom">Get To Know Us</h2>
      </div>
    </div>
    <!-- ROW WITH LINKS -->
    <div class="row">
      <!--COL 3/12 -->
      <div class="col-md-3">
        <h3>Address</h3>
        <p>1234 Lorem Street, <br />
          Los Angeles 99999</p>
        <br />
        <h3>Contact Info</h3>
        <p><span class="font-weight-bold">Phone Number</span> <br />
          (323) - 555- 5555</p>
        <p><span class="font-weight-bold">Email</span> <br />
          noxu@noxmail.com</p>
        <p>
          <span class="font-weight-bold">Fax:</span> +1 (0) 000 0000 002
        </p>
      </div>
      <!--COL 3/12 -->
      <div class="col-md-3">
        <h3>Feedback</h3>
        <p>Thank you for browsing the site, please feel free to give us feedback in the survey below.</p>
        <a href="#" class="btn btn-outline-light">Take Survey</a>
        <h3 class="mt-3">Information</h3>
        <p>
          <a href="#">Privacy Policy</a> <br />
          <a href="#">About Us</a> <br />
          <a href="#">Our Mission</a> <br />
        </p>
      </div>
      <!--COL 3/12 -->
      <div class="col-md-6 pt-2 ">
        <a href="#">
          <img class="img-fluid" src="https://laistassets.scprdev.org/i/2a1c8dbb3ef9a201e421a7333b445f77/5b71c8cfd217300008deddbe-eight.jpg" alt="google-map" id="los-angeles-map" />
        </a>
        <!--Google Maps-->
      </div>
    </div>
    <div class="row">
      <div class="col-sm-12 text-center p-5">
        <p class="pt-2">
          Thank you for visiting this page, this was made from scratch by
          <a href="#">Erick Gonzalez</a> <br />
          All information displayed on this webpage is finctional.
        </p>
        <p>
          View More Of My <a href="#"> Projects </a>
        </p>
        <p>
          <a href="https://www.freecodecamp.org/forum/u/erickkg/summary" target="_blank"><i class="fab fa-free-code-camp text-extraLarge m-3"></i></a>
          <a href="https://codepen.io/dashboard?type=view&opts_itemType=pen&opts_filter=all&opts_orderBy=id&opts_orderDirection=0&opts_tag=0&displayType=grid&previewType=iframe&page=0" target="_blank"><i
              class="fab fa-codepen text-extraLarge m-3"></i></a>
          <a href="https://www.instagram.com/webdev_erickkg/?hl=en" target="_blank"><i class="fab fa-instagram text-extraLarge m-3"></i></a>
        </p>
      </div>
    </div>
  </footer>
              
            
!

CSS

              
                /*
#0C0032
#190061
#240090
#3500D3
#282828
*/
.font-roboto {
  font-family: 'Lato', sans-serif, serif;
}

body {
  background-color: black;
  color: white;
  font-size: 1.1rem;
}

.color-black {
  color: #000;
}

.color-brightBlue {
  color: #3500D3 !important;
}

.bg-black {
  background-color: #000;
}

.bg-brightBlue {
  background-color: #3500D3 !important;
}

.home-title {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.text-medium {
  font-size: 1.5rem;
}

.text-large {
  font-size: 2.3rem;
}

.text-extraLarge {
  font-size: 3rem;
}

.featured-border {
  border: none !important;
}

.icon-star {
  color: darkBlue;
}

.image-link {
  background-color: rgba(0, 0, 0, 0.5);
}

#main-photo {
  background: url("https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/standingBushes.jpg");
  background-size: cover;
  background-position: center center;
  min-height: 300px;
  height: 450px;
  max-height: 500px;
}

#image-shoes {
  background: url("https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/shoes.jpg");
  background-size: cover;
  background-position: center center;
  min-height: 250px;
  height: 5rem;
  max-height: 400px;
  margin-bottom: 25px;
}

#image-outfits {
  background: url("https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/standing.jpg");
  background-size: cover;
  background-position: center center;
  min-height: 350px;
  height: 700px;
  max-height: 40rem;
  margin-bottom: 25px;
}

#image-jeans {
  background: url("https://raw.githubusercontent.com/erickkg/SiteImages/master/ClothsWebpage/jeans.jpeg");
  background-size: cover;
  background-position: center center;
  min-height: 250px;
  height: 360px;
  width: auto;
  margin-bottom: 25px;
}

#image-shirts {
  background: url("https://images.unsplash.com/photo-1533836084038-f72ebbc71338?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2550&q=80");
  background-size: cover;
  background-position: center center;
  min-height: 250px;
  height: 360px;
  width: auto;
  margin-bottom: 25px;
}

.card-image {
  min-height: 250px;
  height: 250px;
  width: auto;
  overflow: hidden;
}

.imgBox:hover {
  -moz-box-shadow: 0 0 15px #ccc;
  -webkit-box-shadow: 0 0 15px #ccc;
  box-shadow: 0 0 15px #ccc;
}

@media only screen and (max-width: 768px) {
  .section-cards {
    padding-left: 15%;
    padding-right: 15%;
  }

  .section-browse-items {
    padding-left: 12%;
    padding-right: 12%;
  }

  footer {
    text-align: center;
  }

  .mainImage-text {
    display: none;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console