Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <div class="wrapper">
  <!-- <section class="top_title_block">
            <div class="text_content">
                <h6>REMEMBER & FORWARD</h6>
                <h1>IMPORTANT<span>MOTTOS</span></h1>
                <p>I'm a UI/UX designer, Art Director and Front-End developer from Taiwan.</p>
            </div>
        </section> -->
  <section class="saying_block Musk">
    <div class="saying_content">
      <div class="text_box">
        <h2>“ I like to be involved in things <br>that change the world ”</h2>
        <h3>我喜歡參與改變世界的事情</h3>
        <p> - Elon Musk</p>
      </div>
    </div>
  </section>
  <!-- <section class="saying_block davinci">
           <div class="saying_content">
               <div class="text_box">
                   <h2>“ Simplicity is the <br>ultimate sophistication ”</h2>
                   <h3>簡約是細膩的極致</h3>
                   <p> - Leonardo da Vinci</p>
               </div>
           </div>
        </section> -->
  <section class="saying_block buffett">
    <div class="saying_content">
      <div class="text_box">
        <h2>“ Games are won by players who <br>focus on the playing field, not by <br>those whose eyes are glued <br>to the scoreboard. ”</h2>
        <h3>比賽會贏的球員只專注在球場上,不是計分板上的分數</h3>
        <p> - Warren Edward Buffett</p>
      </div>
    </div>
  </section>
  <section class="saying_block bezos">
    <div class="saying_content">
      <div class="text_box">
        <h2>“ Cleverness is a gift, <br>kindness is a choice ”</h2>
        <h3>聰明是一種天賦,而善良是一種選擇</h3>
        <p> - Jeff Bezos</p>
      </div>
    </div>
  </section>
  <!-- <section class="saying_block Einstein">
           <div class="saying_content">
               <div class="text_box">
                   <h2>“ Imagination is more <br>important than knowledge ”</h2>
                   <h3>想像力比知識更重要</h3>
                   <p> - Albert Einstein</p>
               </div>
           </div>
        </section> -->
  <section class="saying_block sandberg">
    <div class="saying_content">
      <div class="text_box">
        <h2>“ Done is better than perfect ”</h2>
        <h3>比起空想完美,完成事情更加重要</h3>
        <p> - Sheryl Sandberg</p>
      </div>
    </div>
  </section>
  <section class="saying_block Jobs">
    <div class="saying_content">
      <div class="text_box">
        <h2>“ Stay hungry , stay foolish ”</h2>
        <h3>求知若飢,虛心若愚</h3>
        <p> - Steven Paul Jobs</p>
      </div>
    </div>
  </section>
  <div id="include_footer">
  </div>
</div>
            
          
!
            
              .wrapper {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
div {
  display: block;
}
.saying_block.Musk {
  background-image: url(http://www.lan-chun-chih.com/images/man_musk.jpg);
}
.saying_block {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
article,
aside,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}
html,
body {
  width: 100%;
  height: 100%;
  background: #e9e9e9;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  color: #172730;
}
html,
body {
  width: 100%;
  height: 100%;
  background: #e9e9e9;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  color: #172730;
}
.saying_block.Musk .saying_content {
  background-color: rgba(183, 73, 73, 0.7);
}
.saying_block .saying_content {
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
.saying_block .saying_content {
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.saying_block .saying_content .text_box h2 {
  font-weight: normal;
  font-size: 42px;
  line-height: 50px;
  font-family: "Bitter", serif;
  font-style: italic;
  letter-spacing: 1px;
}
h2 {
  display: block;
  font-size: 1.5em;
  -webkit-margin-before: 0.83em;
  -webkit-margin-after: 0.83em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
.saying_block .saying_content .text_box h3 {
  font-size: 15px;
  letter-spacing: 15px;
  font-weight: normal;
  padding: 30px 0 20px 0;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
h3 {
  display: block;
  font-size: 1.17em;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
.saying_block .saying_content .text_box p {
  font-size: 12px;
  letter-spacing: 2px;
  padding: 20px 0 20px 0;
  opacity: 0.7;
}
p {
  display: block;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
}
.saying_block.buffett {
  background-image: url(http://www.lan-chun-chih.com/images/man_buffett.jpg);
}
.saying_block.buffett .saying_content {
  background-color: rgba(29, 69, 106, 0.7);
}
.saying_block.bezos {
  background-image: url(http://www.lan-chun-chih.com/images/man_bezos.jpg);
}
.saying_block.bezos .saying_content {
  /* background-color: rgba(223, 168, 0, 0.7); */
  background-color: rgba(16, 36, 55, 0.7);
}
.saying_block.sandberg {
  background-image: url(http://www.lan-chun-chih.com/images/man_sandberg.jpg);
}
.saying_block.sandberg .saying_content {
  background-color: rgba(210, 24, 76, 0.7);
}
.saying_block.Jobs {
  background-image: url(http://www.lan-chun-chih.com/images/man_jobs.jpg);
}
.saying_block.Jobs .saying_content {
  background-color: rgba(0, 159, 153, 0.7);
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console