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

              
                <div class="container-fluid">
  <nav class="navbar fixed-top p-3 navbar-expand-lg navbar-light bg-info shadow">
    <div class="container">
      <a class="navbar-brand" href="#">
        <img class="rounded" src="https://s2.ax1x.com/2019/05/03/ENBuut.jpg" width="30" height="30" class="d-inline-block align-top" alt=""> Syn
      </a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="collapsibleNavbar">
        <div class="navbar-nav ml-auto">
          <a class="nav-item nav-link active" href="#">Home <span class="sr-only">(current)</span></a>
          <a class="nav-item nav-link" href="#about">About</a>
          <a class="nav-item nav-link" href="#portfolio">Portfolio</a>
          <a class="nav-item nav-link" href="#contact">Contact</a>
        </div>
      </div>
    </div>
  </nav>
</div>
<div class="bg text-center" style="padding: 10rem 0rem 10rem 0rem;">
  <div class="container">
    <h1 class="display-2 py-5">Syn's Personal Portfolio Webpage</h1>
    <h2 class="display-4 py-2">Long may the sun shine !</h2>
    <hr class="pb-4">
    <a class="btn btn-light mb-5 mx-2" href="https://twitter.com/Syndeveloper" target="_blank"><i class="fab fa-twitter"></i> Twitter</a>
    <a class="btn btn-light mb-5 mx-2" href="https://github.com/codersyn" target="_blank"><i class="fab fa-github"></i> Github</a>
    <a class="btn btn-light mb-5 mx-2" href="#"><i class="fab fa-linkedin-in"></i> Linkedin</a>
  </div>
</div>
<div class="bg2 text-center" style="padding: 20rem 0rem 20rem 0rem;" id="about">
  <h1>About me</h1>
  <p class="col-4 mx-auto">Hello, everyone. my name is Syn, and i am 13 years old. now i am a school student. i love WEB . and i like sports very much. WEB brings lots of fun. and sports makse me happy. i like this sentence:" nothing is impossible." so i always try my best to do everything well,and never give up easily. so this is me ,i hope to make friends with you all. thank you for watching !</p>
</div>
<div class="bg text-center" style="padding: 10rem 0rem 10rem 0rem;" id="portfolio">
  <h1 class="text-center pb-3">Portfolio</h1>
  <div class="row">
  <div class="card col mx-2">
    <img class="card-img-top" src="https://s2.ax1x.com/2019/05/03/ENBMHf.png" alt="Card image cap">
    <div class="card-body">
      <h5 class="card-title">Tribute Page</h5>
      <p class="card-text">This is my first protfolio, and content is a tribute page.</p>
      <a href="https://codepen.io/websyn/full/zXLGbm" class="btn btn-primary">Look</a>
    </div>
  </div>
  <div class="card col mx-2">
    <img class="card-img-top" src="https://s2.ax1x.com/2019/05/03/ENBMHf.png" alt="Card image cap">
    <div class="card-body">
      <h5 class="card-title">Tribute Page</h5>
      <p class="card-text">This is my first protfolio, and content is a tribute page.</p>
      <a href="https://codepen.io/websyn/full/zXLGbm" class="btn btn-primary disabled">Look</a>
    </div>
  </div>
    <div class="card col mx-2">
    <img class="card-img-top" src="https://s2.ax1x.com/2019/05/03/ENBMHf.png" alt="Card image cap">
    <div class="card-body">
      <h5 class="card-title">Tribute Page</h5>
      <p class="card-text">This is my first protfolio, and content is a tribute page.</p>
      <a href="https://codepen.io/websyn/full/zXLGbm" class="btn btn-primary disabled">Look</a>
    </div>
  </div>
    <div class="card col mx-2">
    <img class="card-img-top" src="https://s2.ax1x.com/2019/05/03/ENBMHf.png" alt="Card image cap">
    <div class="card-body">
      <h5 class="card-title">Tribute Page</h5>
      <p class="card-text">This is my first protfolio, and content is a tribute page.</p>
      <a href="https://codepen.io/websyn/full/zXLGbm" class="btn btn-primary disabled">Look</a>
    </div>
  </div>
  </div>
</div>
<div class="bg2 text-center" style="padding: 10rem 0rem 10rem 0rem;" id="contact">
  <h1>Contact</h1>
  <div class="container">
  <form class="m-5">
  <div class="form-row">
    <div class="form-group col-md-6">
      <label for="inputName">Name</label>
      <input type="text" class="form-control" id="inputName" placeholder="Your name">
    </div>
    <div class="form-group col-6">
      <label for="inputEmail4">Email</label>
      <input type="email" class="form-control" id="inputEmail4" placeholder="Email">
    </div>
  </div>
  <div class="form-row">
    <div class="form-group col-md-6">
      <label for="inputCity">City</label>
      <input type="text" class="form-control" id="inputCity">
    </div>
    <div class="form-group col-md-4">
      <label for="inputState">State</label>
      <select id="inputState" class="form-control">
        <option selected>Choose...</option>
        <option>...</option>
      </select>
    </div>
    <div class="form-group col-md-2">
      <label for="inputZip">Zip</label>
      <input type="text" class="form-control" id="inputZip">
    </div>
  </div>
  <div class="form-group">
    <label for="inputMessage">Message</label>
    <input type="text" class="form-control form-control-lg" id="inputMessage" placeholder="Message">
  </div>
  <button type="submit" class="btn btn-primary">Seed</button>
</form>
  </div>
</div>
<footer class="mt-5 text-center">Written and coded by <a href="#">Syn</a>.</footer>
              
            
!

CSS

              
                nav a {
  font-size: 1.2rem;
}
body {
  padding-top: 4.5rem;
}
.bg {
  background: url("https://s2.ax1x.com/2019/05/03/ENBlE8.png") center;
}
.bg2 {
  background: url("https://s2.ax1x.com/2019/05/03/ENBKDP.png") center;
}

              
            
!

JS

              
                
              
            
!
999px

Console