test_2

In this example below you will see how to do a test_2 with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by Espolz, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright Espolz ©
  • HTML
  • CSS
  • JavaScript
    <body>
  <header class="row">
      <div class="col-md-12">
        Entete
      </div>
    </header>
  
  <div class="container">
    <div class="row">
      <nav class="col-md-2 visible-md visible-lg">
        Navigation
      </nav>
      <nav class="col-md-2 visible-sm">
        Navigation tablette
      </nav>
      <nav class="col-md-2 visible-xs">
        Navigation smartphone
      </nav>
      
      <section class="col-sm-6 col-md-5">
        Section
      </section>
      
      <section class="col-sm-6 col-md-5">
        Section
      </section>
    </div>
    
    <footer class="row">
      <div class="col-md-12">
        Pied de page
      </div>
    </footer>
  </div>
</body>

/*Downloaded from https://www.codeseek.co/Espolz/test_2-MbKLaP */
    body {
  padding-top: 10px;
}
[class*="col-"], footer {
  background-color: lightgreen;
  border: 2px solid black;
  border-radius: 6px;
  line-height: 40px;
  text-align: center;
}

.col-md-2 { line-height: 100px; }
.col-md-5 { line-height: 200px; }
.col-md-12 { line-height: 80px; }


/*Downloaded from https://www.codeseek.co/Espolz/test_2-MbKLaP */
    

Comments