Template

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

Thumbnail
This awesome code was written by praliedutzel, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright praliedutzel ©
  • HTML
  • CSS
  • JavaScript
    <header class="header">
  <h1 class="header__title">Title</h1>
  <a href="#" target="_blank">Read the Article</a>
</header>



/*Downloaded from https://www.codeseek.co/praliedutzel/template-RrrdVr */
    

// The code below this point is used for styling the demo
@at-root {
  body {
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif;
    text-align: center;
  }

  .header {
    background-color: #232439;
    padding: 4rem 2rem;
    text-align: center;
    
    a {
      margin-top: 1rem;
      display: block;
      color: #6ddce5;
      font-size: 0.85rem;
      text-decoration: none;
    }
  }

  .header__title {
    margin: 0;
    color: #fff;
    font-weight: 300;
  }
}


/*Downloaded from https://www.codeseek.co/praliedutzel/template-RrrdVr */
    

Comments