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

              
                <html>
<head>
  <meta charset="utf-8" />
 		<title>Lmagic's 小屋</title>
</head>
<body>
  <div class="container-fluid">
      <!--navbar部分" -->
      <div class="topnav navbar" id="nav" >
        <div class="my_theme">
          <p class="theme"><strong>Lmagic's 小屋</strong></p>
        </div>
        <div class="main_navbar" id="row_nav">
          <!--
          <div class="col-md-1 "><a href="#Home"><button class="btn btn-primary btn-block">Home</button></a></div>
          <div class="col-md-1 "><a href="#About"><button class="btn btn-primary btn-block">About</button></a></div>
          <div class="col-md-1 "><a href="#Portfolio"><button class="btn btn-primary btn-block">Portfolio</button></a></div>
          <div class="col-md-1 "><a href="#Contact"><button class="btn btn-primary btn-block">Contact</button></a></div>
          -->
         <ul class="nav-ul content_ul my_ul text-center">
          <li><a href="#Home" class="btn btn-default btn-lg "><span class="network-name">Home</span></a>
          </li>
          <li><a href="#About" class="btn btn-default btn-lg "><span class="network-name">About </span></a>
          </li>
          <li><a href="#Portfolio" class="btn btn-default btn-lg "><span class="network-name">Portfolio</span></a>
          </li>
          <li><a href="#Contact" class="btn btn-default btn-lg "><span class="network-name">Contact</span></a>
          </li>
         </ul>
        </div><!--id="row_nav" -->
      </div><!--class="row topnav navbar" -->
    
    <!--home部分 -->
    <a name="Home"></a>
    <div class = "home_div" style="background-color:#C0C0C0;margin:-15px;">
   
      <div class = "placeholder1"></div>
      <div class = "placeholder1"></div>
      <h1 class="text-center"><strong><em>Lmagic's Web Design Studio</em></strong></h1>
      <div class = "placeholder2"></div>
      <h5 class="text-center"><strong>Where Awesomeness Is Brought To Life.</strong></h5>
      <p></p>
      <hr class="line">
      <p></p>
      <div class="row home_row"><p></p></div>
      <div class="row row2">
        <ul class="content_ul my_ul text-center">
          <li><a href="https://github.com/Lmagic16" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
          </li>
          <li><a href="https://www.linkedin.com/in/倩玉-刘-216399107/" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-linkedin" aria-hidden="true"></i> <span class="network-name">&nbsp;&nbsp;Linkin </span></a>
          </li>
          <li><a href="https://codepen.io/Lmagic16_/" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-bold" aria-hidden="true"></i> <span class="network-name">&nbsp;&nbsp;Blog&nbsp;</span></a>
          </li>
          <li><a href="https://www.freecodecamp.cn/lmagic16" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-fire fa-fw"></i> <span class="network-name">Freecodecamp</span></a>
          </li>
        </ul>
      </div><!--row2 -->
     <div class="row home_row"></div>
    </div><!-- class = "home-div" -->
    
    <!--about部分 -->
    <a name="About"></a>
    <div class = "about_div" style="background-color:#C0C0C0;margin:-15px;">
      
      <div class = "placeholder1"></div>
      <div class = "about_left">
        <!--
        <h3 style="margin-top:60px;font-family:Microsoft YaHei;" class="text-center"><strong>Lmagic's Web Design Studio.</strong></h3>
        -->
        <h3 style="margin-top:50px;font-family:KaiTi;" class="text-center"><strong>致橡树</strong></h3>
        <p class="about_text text-center">我如果爱你——</p>
        <p class="about_text text-center">绝不像攀援的凌霄花,</p>
        <p class="about_text text-center">借你的高枝炫耀自己;</p>
        <p class="about_text text-center">我如果爱你——</p>
        <p class="about_text text-center">绝不学痴情的鸟儿,</p>
        <p class="about_text text-center">为绿荫重复单调的歌曲;</p>
        <p class="about_text text-center">也不止像泉源,</p>
        <p class="about_text text-center">常年送来清凉的慰藉;</p>
        <p class="about_text text-center">也不止像险峰,</p>
        <p class="about_text text-center">增加你的高度,衬托你的威仪。</p>
        <p class="about_text text-center">甚至日光,</p>
        <p class="about_text text-center">甚至春雨。</p>
      </div>
      <div class = "about_right">
        <img style="margin-top:50px;border-radius:50%;width:500px; height:500px;" src="http://ww1.sinaimg.cn/mw1024/8de2a63bjw1f3kbbcrounj20zk0qo7d8.jpg" />
      </div>
    </div><!-- class = "about_div" -->
    
    <!--Portfolio部分 -->
    <a name="Portfolio"></a>
    <div class = "portfolio_div" style="background-color:#C0C0C0;margin:-15px;">
      
      <div class = "placeholder1"></div>
      <h2 class="text-center" style=""><strong>Lmagic's Portfolio.</strong></h2>
      <p></p>
      <h4 class="text-center"><strong>Below you'll find some of my recent work.</strong></h4>
      <div class = "placeholder1"></div>
      <div class="row portfolio_row portfolio_row1">
        <div class="col-lg-4 portfolio_col">
          <a href="https://codepen.io/Lmagic16_/full/PbVERX/" target="_blank" class="btn btn-default btn-lg content"><span class="network-name"><p>My first project</p><p>Build my Tribute Page</p></span></a>
        </div>
        <div class="col-lg-4 portfolio_col">
          <a href="https://github.com/ThiagoFerreir4" target="_blank" class="btn btn-default btn-lg content"><span class="network-name">Github</span></a>
        </div>
        <div class="col-lg-4 portfolio_col">
          <a href="https://github.com/ThiagoFerreir4" target="_blank" class="btn btn-default btn-lg content"><span class="network-name">Github</span></a>
        </div>
      </div><!-- class="row portfolio_row1" -->
      <div class = "placeholder1"></div>
      <div class="row portfolio_row portfolio_row2">
        <div class="col-lg-4 portfolio_col">
          <a href="https://github.com/ThiagoFerreir4" target="_blank" class="btn btn-default btn-lg content"><span class="network-name">Github</span></a>
        </div>
        <div class="col-lg-4 portfolio_col">
          <a href="https://github.com/ThiagoFerreir4" target="_blank" class="btn btn-default btn-lg content"><span class="network-name">Github</span></a>
        </div>
        <div class="col-lg-4 portfolio_col">
          <a href="https://github.com/ThiagoFerreir4" target="_blank" class="btn btn-default btn-lg content"><span class="network-name">Github</span></a>
        </div>
      </div><!-- class="row portfolio_row2" --> 
    </div><!-- class = "portfolio_div" -->
    
    <!--Contact部分 -->
    <a name="Contact"></a>
    <div class = "contact_div" style="background-color:#C0C0C0;margin:-15px;">
      <div class = "placeholder1"></div>
      <div class = "contact_left">
        <p></p>
        <h3 class="text-center" style="color:#000;"><strong>Connect with Lmagic's Web Design Studio: lmagic.mail@gmail.com</strong></h3>
        <p></p>
      </div>
      <div class = "contact_right">
        <ul class="content_ul last_ul text-center">
          <li><a href="https://github.com/Lmagic16" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
          </li>
          <li><a href="https://www.linkedin.com/in/倩玉-刘-216399107/" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-linkedin" aria-hidden="true"></i> <span class="network-name">&nbsp;&nbsp;Linkin </span></a>
          </li>
          <li><a href="https://codepen.io/Lmagic16_/" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-bold" aria-hidden="true"></i> <span class="network-name">&nbsp;&nbsp;Blog&nbsp;</span></a>
          </li>
          <li><a href="https://www.freecodecamp.cn/lmagic16" target="_blank" class="btn btn-default btn-lg content"><i class="fa fa-fire fa-fw"></i> <span class="network-name">Freecodecamp</span></a>
          </li>
        </ul>
      </div>
    </div><!-- class = "contact_div" -->
    
    <footer style="background-color:#C0C0C0;margin:-15px;">
      <ul class="footer_ul" >
          <li style="float:left;list-style-type:none;margin-left:-25px;" ><a href="#Home" >Home</a>
          </li>
          <li><a href="#About">About</a>
          </li>
          <li><a href="#Portfolio" >Portfolio</a>
          </li>
          <li><a href="#Contact" >Contact</a>
          </li>
      </ul>
     <p>&nbsp;</p>
     <p class="text-muted small" style="margin-left:15px;">Posted by: Lmagic16_</p>
     <p class="text-muted small" style="margin-left:15px;">Copyright &copy; Infinito Web Design Studio 2015. All Rights Reserved</p>
    </footer>
    
  </div><!-- class="container-fluid" -->
</body>
</html>
              
            
!

CSS

              
                /*
@font-face
{
font-family: myFirstFont;
src: url('arenski.ttf');
}
*/
body{
  margin:0px;
  padding:0px;
}
.home_div{
  height: 1000px;  
  /*
  padding-top: 50px; 
  padding-bottom: 50px;*/
  text-align: center;
  background-color: #C0C0C0;
  /*background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/1750480/2024/1349/m1/fpnw/wm1/mockup1-.jpg?1476203607&s=8533d2d98576f8ea7cf68ef2937e08ac);*/
  /*background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/1743592/1160/780/m1/fpnw/wm0/juniper-bundle1-.jpg?1476051588&s=b6cf3dcff9e08e2ed5a779e4802d0782);*/
  background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/1741148/1160/780/m1/fpnw/wm0/juniper-bundle8-.jpg?1475972292&s=7df3d04b58e42612fe3ad7f463da1d1f);
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-size:cover;
}
.placeholder1{
  height: 55px;
}
.placeholder2{
  height: 30px;
}
.theme{
  font-family:Microsoft YaHei;
  font-size:30px;
}
#nav {
  background-color: #A0A0A0;
  width:100%;
  padding-top:20px;
  border-bottom-color:#000;
  position:fixed;
  margin:-15px;
}
.my_theme{
  float:left;
  padding-left:40px;
  width:60%;
}
#row_nav{
  position: relative;
  background-color: #A0A0A0;
  width:40%;
  float:right;
}
.row2 {
  width:40%;
  float:left;
  margin:0 auto;
}
.home_row {
  width:30%;
  float:left;
}
.line {
  align:center;
  size:100px;
  width:600;
  background-color:#000000;
  height:2px;
  border:none;
}
.my_ul li{
  float:left;
  list-style-type:none;
  margin:5px;
  width:120px;
}
h5 {
  font-family:Microsoft YaHei;
}
h1,h2,h3,h4,h5 {
  color:#006666;
}
ul.content_ul a:hover {
  background: rgba(255, 255, 255, 0.5);
  background-color: #006666;
  color: #FFFFFF;
}

a.content span{
  font-weight:bold;
}

.about_div{
  height: 1000px; 
  /*
  padding-top: 50px; 
  padding-bottom: 50px;*/
  text-align: center;
  background-color: #C0C0C0;
  /*background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/2071088/5184/3456/m1/fpnw/wm1/yourtext1-.jpg?1482880736&s=72ba788dd6b9f2a98af931958295afd2);*/
  /*background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/2071181/1160/772/m1/fpnw/wm0/paris-1920-1-.jpg?1482886292&s=797d8e8524945d41ce1c8d5f6cb07d98);*/
  background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/1957498/1360/906/m1/fpnw/wm1/uzdo7txsqjdolzja3l4js0c7pokjxtssmimm7hsnihondgggn2dqmrobz01sqazo-.jpg?1480344741&s=6c5b9106a9455e300c49de75bbef4e0a);
  background-size:cover;
}
.about_text {
  font-family:KaiTi;
  font-size:20px;
}

.about_right,
.about_left,
.contact_right,
.contact_left {
  float:left;
  width:50%;
  font-size:20px;
  font-family:Microsoft YaHei;
}


.portfolio_div{
  height: 755px;  
  /*
  padding-top: 50px; 
  padding-bottom: 50px;*/
  text-align: center;
  background-color: #C0C0C0;
  background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/1741151/1160/780/m1/fpnw/wm0/juniper-bundle18-.jpg?1482897292&s=2c993f791e1a39881faff76470705104);
  /*background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/2076205/1160/773/m1/fpnw/wm0/01-.jpg?1483056928&s=9d8aeae21f0b5d8477d0bf3b04642a4d);*/
  background-size:cover;
}
.portfolio_col a{
    width:300px;
    height:90px;
}
.portfolio_col a:hover {
  background: rgba(255, 255, 255, 0.5);
  background-color: #006666;
  color: #FFFFFF;
}
p {
  margin:5px;
}

.contact_div{
  height: 755px;  
  /*
  padding-top: 50px; 
  padding-bottom: 50px;*/
  text-align: center;
  background-color: #C0C0C0;
  background-image:url(https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/1741150/1160/780/m1/fpnw/wm0/juniper-bundle10-.jpg?1482897292&s=0b74fa56e7459961bf33ea04b4188f08);
  background-size:cover;
}
.last_ul {
  float:right;
  margin-right:30px;
}
.last_ul li{
  list-style-type:none;
  width:150px;
  margin:30px;
}
.footer_ul {
  width:100%;
  height:20px; 
}
.footer_ul li{
  float:left;
  width:100px;
  padding:20px;
}



              
            
!

JS

              
                
              
            
!
999px

Console