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. 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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 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.

HTML

              
                <head>
  <meta charset="utf-8">
  <link rel="stylesheet" href="" />
  <title>Thenri</title>
</head>
<!-- Conteudo da pagina -->

<body>
  <!-- Header and navbar -->
  <header>
     <div class="navbar navbar-default navbar-fixed-top pull-right" role="navigation" id="header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#nav">
      <span class="sr-only">Toggle dropdown</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      </button>
       <div id="logos">
      <a class="navbar-brand" href="#presentation"><img id="logo" src="http://pre08.deviantart.net/d102/th/pre/f/2014/248/1/a/laurel_leaves_hq_by_macgalope11-d7y08ss.png" width="45" alt="Laurel Crown Logo" title="" />
        <p id="logoname">Thenri</p>
      </a>
         </div>
      <!-- collapsing navbar -->
      <nav>
        <div class="collapse navbar-collapse nav-collapse navbar-responsive-collapse" id="nav">
          <ul class="nav navbar-right">
            <li><a href="#presentation">About</a></li>
            <li><a href="#projects">Projects</a></li>
            <li><a href="#testemonials">Testemonials</a></li>
            <li><a href="#contact">Contact</a></li>
          </ul>
        </div>
      </nav>
    </div>
  </header>
  <div class="container-fluid">
      <!-- Apresentação -->
    <main>
    <div id="presentation" class="presentation">
      <h1 id="mainText"> Welcome </h1>
    </div>
      </main>
    <!-- Projetos -->
    <div id="projects" class="projects">
      <h2> Projects </h2>
      <ul>
        <div class="row">
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li class="project">
                <a href="https://cdpn.io/arrudamt/debug/QMRaZm/NjrYzWwJxVdA">
                  <div class="projectOne">
                    <img class="img-tribute" alt="J.K.Rowling Tribute Page" src="https://cdn-images-1.medium.com/max/1600/0*UY0vCLnHjlLFwJLU.jpg">
                  </div>
                  <div class="overlay">
                      <div class="textProject">Tribute Page</div>
                  </div>
                </a>
              </li>
            </div>
          </div>
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li class="project"><a href="#">Project2</a></li>
            </div>
          </div>
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li class="project"><a href="#">Project3</a></li>
            </div>
          </div>
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li class="project"><a href="#">Project4</a></li>
            </div>
          </div>
        </div>
      </ul>
    </div>
    <!-- Testemonials -->
    <div id="testemonials" class="testemonials">
      <h2> Testemonials </h2>
      <ul>
        <div class="row">
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li>Testemonial1</li>
            </div>
          </div>
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li>Testemonial2</li>
            </div>
          </div>
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li>Testemonial3</li>
            </div>
          </div>
          <div class="col-xs-12 col-sm-3">
            <div class="well">
              <li>Testemonial4</li>
            </div>
          </div>
        </div>
      </ul>
    </div>
    <!-- Contato -->
    <div id="contact" class="contact">
      <h2> Contact </h2>
      <form action="http://www.example.com/profile.html">
        <h3>Subject</h3>
        <select name="interest">
      <option value="selected">---</option>
      <option value="orcamento">Orçamento</option>
      <option value="parceria">Parceria</option>
      <option value="empresarial">Empresarial</option>
      <option value="outro">Outro</option>
    </select>
      </form>
      <h3>E-mail</h3>
      <input type="text" name="email" required/>
      <h3>Message</h3>
      <textarea name="message" cols "50" rows="6">Tell me about your project </textarea>
      <br/>
      <input type="submit" name="submit" value="Enviar" />
    </div>
    <div id="footer">
    <footer>
      <center>  
     <strong>Created by Maria Theresa Henriques</strong> 
        <img src="http://pre08.deviantart.net/d102/th/pre/f/2014/248/1/a/laurel_leaves_hq_by_macgalope11-d7y08ss.png" width="27" alt="Laurel Crown Logo" title="Nike's Laurel Wreath"/></center></div>
    </footer>
    </div>
  </div>
  </body>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Indie+Flower");

@import url("https://fonts.googleapis.com/css?family=Gloria+Hallelujah|IM+Fell+Great+Primer|Permanent+Marker|Shadows+Into+Light");

@mixin background-size($size){
  -webkit-background-size: $size;
  -moz-background-size: $size;
  -o-background-size: $size;
  background-size: $size;
}

@mixin parallax-background($file){
  background: url($file) no-repeat center center fixed;
  @include background-size(cover);
}



// variables above
* {
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

/* body */

body {
  min-width: 280px;
  border: none;
  overflow: scroll;
}

//header and navbar

#header {
  background-color: white;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding-bottom: 5px;
  border: none;
}

// logo: brand and name

#logos:hover {
  transform: scale(1.01);
  margin-left: 5px;
}

#logo {
  display: inline-block;
  margin-left: 15px;
  width: 50px;
}

#logoname {
  display: inline-block;
  font-size: 24px;
  color: rgb(50, 50, 50);
  font-family: "Permanent Marker", "Indie Flower", sans-serif;
} 

//navbar

#nav {
  margin-top: 8px;
  margin-right: 50px;
}

.navbar-toggle {
  border: none;
  padding: 22px 10px;
}

.navbar-default .navbar-toggle {
  &:focus, &:hover {
    background-color: white;
  }
}

.navbar-collapse {
  text-align: right;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#nav ul {
  list-style: none;
  float: right;
  text-align: right;
  li {
    position: relative;
    display: inline-block;
    padding: 15px;
    a {
      color: black;
      text-decoration: none;
      font-family: "Indie Flower", sans-serif;
      font-weight: bold;
      letter-spacing: 1px;
      font-size: 19px;
      padding: 0px;
      &:hover {
        text-decoration: line-through;
        color: black;
        background-color: transparent;
        transform: scale(1.1);
      }
      &:after {
        color: black;
        text-decoration: underline;
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .navbar-brand {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    z-index: -1;
  }
  
  #nav {
    background-color: white;
    width: 100%;
  }
  nav ul li {
    width: 100%;
    background-color: white;
    text-align: center;
  }
  
  h1 {
    position: relative;
    transform: translatez(-5px);
    text-align: center;
    // left: -18px;
  }
}

// container fluid

.container-fluid {
  padding: 60px 10px 2px 12px;
  position: relative;
}

//presentation
#presentation {
  @include parallax-background("http://www.communicationartistry.ca/wp-content/uploads/2016/10/hire-writer-1095x640.jpg");
  height: 500px;
  
  h1 {
    position: relative;
    transform: translatez(-5px);
    text-align: center;
    left: -18px;
  }
}


a {
  color: black;
  background-color: transparent;
  text-decoration: none;
  &:hover {
    text-decoration: line-through;
    color: black;
  }
}

/*-------------- Projects ------------------*/

h2 {
  text-align: center;
  color: white;
}

.projects, .testemonials {
  position: relative;
  // display: block;
  // top: 20px;
  ul {
    list-style: none;
  }
  background-color: black;
  margin: 5px;
  padding: 5px;
  padding-right: 40px;
  border: 5px;
}

.contact {
  background-color: black;
  margin: 5px;
  padding: 5px;
  border: 5px;
}

// headers

#mainText {
  position: absolute;
  top: 20rem;
  left: 5rem;
  color: black;
  animation-name: mainText;
  animation-duration: 2s;
  animation-iteration-count: 1;
}

@keyframes mainText{
  0% {
      transform: scale(0.6);
    }
  50% {
      transform: scale(1.6);
      color: white;
    }
  100%{
    transform: scale(1);
  }
}

h1 {
  color: rgb(235, 235, 235);
  margin: 5px;
  padding: 15px;
  //  border: 5px;
}

// footer

#footer {
  font-family: "Times New Roman", serif;
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  color: black;
  background-color: white;
  padding-top: 16px;
}

.project {
  position: relative;
  // width: 100%;
  height: 180px;
}

.img-tribute {
  display: block;
  // width: auto;
  height: 180px;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .6s ease;
  background-color: gray;
}

.project:hover .overlay {
  opacity: 0.9;
  text-decoration: line-through;
}

.textProject {
  color: black;
  font-size: 20px;
  font-weight:600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  &:hover{
    text-decoration: line-through;
  }
}
              
            
!

JS

              
                $(document).ready(function(){
});
              
            
!
999px

Console