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

              
                <body>
  <div class="container caixadefora mx-auto">
    <!--Menu superior -->
    <div class="row" id="home">
      <div class="col-lg-8 col-md-8 col-xs-4">
        <img src="https://dl.dropboxusercontent.com/s/4fyxudyjl58rju0/10003887_1535499100004967_2887766719639521577_n-01.jpg?dl=0" alt="logo" class="logo"></img>
      </div>
      <a class="btn col-lg-1 col-md-1 col-xs-2 link navigation" href="#home" role="button">Home</a>
      <a class="btn col-lg-1 col-md-1 col-xs-2 link navigation" href="#aboutpart" role="button">About</a>
      <a class="btn col-lg-1 col-md-1 col-xs-2 link navigation" href="#portfolio" role="button">Work</a>
      <a class="btn col-lg-1 col-md-1 col-xs-2 link navigation" href="#contacts" role="button">Contacts</a>
    </div>
    <!-- Hello everyone -->
    <div class="container responsive mx-auto hello">
      <div class="text-center">
        <h4 id="titulo1">Ruben Alegre Dias</h4>
        <h1 id="titulo2">Front End Developer</h1>
        <button class="btn btn-dark butao" id="butaoservices">Need my services?</button>
      </div>
    </div>

    <!-- about -->
    <div class="row" id="aboutpart">
      <div class="row">
        <div class="textoabout col-lg-9 col-md-12 col-xs-12">
          <h4>Who am I?</h4>
          <div class="rectangle"></div>
          <p>I'm a passionate Portuguese front end developer and UI designer, trying to expand my knowledge every time I can. My fields include graphic, UI, and motion design, as well as development.</p>
        </div>

        <!-- buttons social media -->
        <div class="container row">
          <div class="col">
            <a href="https://dl.dropbox.com/s/3n03qvsk7h70qbn/Curriculo%20pt.pdf?dl=0"><button class="btn btn-dark butao" id="butaocv">Download CV</button></a>
            <a href="https://www.linkedin.com/in/rubenalegredias/" class="align-middle socialmedia"><i class="fab fa-linkedin"></i></a>
            <a href="https://dribbble.com/alegredias" class="align-middle socialmedia"><i class="fab fa-dribbble-square"></i></a>
            <a href="https://www.behance.net/rubenalegredias" class="align-middle socialmedia"><i class="fab fa-behance-square"></i></a>
            <a href="https://github.com/RubenAlegreDias" class="align-middle socialmedia"><i class="fab fa-github-square"></i></a>
          </div>
        </div>
      </div>
    </div>

    <!-- portfolio -->
    <div class="container mx-auto portfolio" id="portfolio">
      <h4>My work</h4>
      <div class="rectangle2"></div>
      <div class="row text-center mx-auto caixatrabalhos">

        <img class="col-lg-4 col-md-6 col-sm-12 col-xs-12 trabalhos" src="https://cdn.dribbble.com/users/944280/screenshots/4389257/casa_segura_dribble.jpg" alt="trabalho"></img>
        </a>
        <img src="https://cdn.dribbble.com/users/944280/screenshots/4350681/asdhasd_1x.jpg" class="col-lg-4 col-md-6 col-sm-12 col-xs-12 trabalhos" alt="trabalho"></img>
        <img src="https://cdn.dribbble.com/users/944280/screenshots/4137033/ikea_1_1x.jpg" class="col-lg-4 col-md-6 col-sm-12 col-xs-12 trabalhos" alt="trabalho"></img>
        <img src="https://cdn.dribbble.com/users/944280/screenshots/4137047/ikea_2_1x.jpg" class="col-lg-4 col-md-6 col-sm-12 col-xs-12 trabalhos" alt="trabalho"></img>

      </div>
    </div>

    <!-- contactos -->

    <div class="row contactos" id="contacts">

      <div class="col">
        <h4>Contact me</h4>
        <div class="rectangle2"></div>
        <h5>Address</h5>
        <p>Adress line</p>
        <p></p>
        <p></p>
        <h5>Cellphone</h5>
        <p>9XX XXX XXX</p>
        <p></p>
        <p></p>
        <h5>E-mail</h5>
        <p>XXX@gmail.com</p>

      </div>
      <div class="container col responsive">
        <input class="row input text-center formulario" type="text" placeholder="Your name" name="nome">
        <input class="row input text-center formulario" type="text" placeholder="Your E-mail" name="email">
        <input class="row input text-center formulariomensagem" type="text" placeholder="Your message" name="mensagem">
        <button class="row btn btn-dark text-center butao" id="butaoenviar">Enviar</button>
      </div>
    </div>

    <footer>
      <div class="container">
        <div class="row">
          <div class="col">
            <a href="https://www.linkedin.com/in/rubenalegredias/" class="socialmedia2"><i class="fab fa-linkedin"></i></a>
            <a href="https://dribbble.com/alegredias" class="socialmedia2"><i class="fab fa-dribbble-square"></i></a>
            <a href="https://www.behance.net/rubenalegredias" class="socialmedia2"><i class="fab fa-behance-square"></i></a>
            <a href="https://github.com/RubenAlegreDias" class="socialmedia2"><i class="fab fa-github-square"></i></a>
            <p class="copyrighttext"> Handmade by Ruben Alegre Dias © 2018. </p>

          </div>
        </div>
      </div>
    </footer>
    <!-- container de fora -->
  </div>
              
            
!

CSS

              
                input:focus { 
    outline: none !important;
    border-color: #719ECE;
    box-shadow: 0 0 10px #fc706f;
}
textarea:focus { 
    outline: none !important;
    border-color: #719ECE;
    box-shadow: 0 0 10px #fc706f;
}


body{
  background-color: rgb(230 230 230);
}


.logo{
  width: 75px;
}


.hello{
  margin-top: 100px;
}

#aboutpart{
  background: linear-gradient(-90deg, #f42a80, #fc706f);

margin: 100px -70px;
  padding: 50px 75px;
  color: white;
}

.socialmedia{
  color: white;
  font-size: 30px;
  margin: 0px 5px;
}


.socialmedia2{
  color: white;
  font-size: 40px;
  margin: 0px 5px;
}

.socialmedia:hover{
  color: darkgray;
}

.socialmedia2:hover{
  color: darkgray;
}


.portfolio{
  margin-top: 100px;
}


.caixadefora{
  background-color: white;
  margin: 60px;
  box-shadow: 0px 2px 50px rgba(0, 0, 0, .15);
  padding: 30px 70px;

}

.trabalhos{
width: 50px;
  height:100%;
  padding: 10px;
  min-width: 50px;

}

.caixatrabalhos{

}

.navigation{
  background-color:transparent;
  margin 0px; 10px;
font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: darkgray;
  padding: 5px 5px;
}
.navigation:hover{
  color: #f42a80;
}

.formulario{
  margin: 20px;
  padding: 20px 70px;
  border-radius: 10pt;
  border: transparent;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .15);
  background-color: whitesmoke;
  color: lightgrey;

    
}

.formulariomensagem{
  margin: 20px;
  padding: 20px 70px 150px 70px;
  border-radius: 10pt;
  border: transparent;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .15);
  background-color: whitesmoke;
  color: lightgrey;

    
}
 
  
.contactos{
  margin: 150px 0px;
}

#titulo1{
  font-family: 'Open Sans', sans-serif;
}

#titulo2{
font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}


.butao{
font-family: 'Open Sans', sans-serif;
 

}

h4{
font-family: 'Open Sans', sans-serif;}

p{
font-family: 'Open Sans', sans-serif;}

.textoabout{
  max-width: 600px;
}




.butaofinal{
  color: white;
  margin: 10px;
  background-color: transparent;
}


.rectangle {
  height: 5px;
  width: 75px;
  background-color: white;
  margin-bottom: 20px;
}

.rectangle2 {
  height: 5px;
  width: 75px;
  background-color: grey;
  margin-bottom: 20px;
}

footer{
  background-color: grey;
margin: 0px -70px -30px -70px;
  padding: 50px 100px;
}

.copyrighttext{
  color:white;
  font-family: 'Open Sans', sans-serif;
  margin: 10px 0px;
}
              
            
!

JS

              
                
              
            
!
999px

Console