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="container">
  <div class="jumbotron">
    <div class="row">
      <div class="col-xs-12">
         <h1 class="text-center animated swing">
           一个演员的自我修养
           <p><small>周星星的进化史</small></p>
        </h1>
           <div class="thumbnail img-responsive center-block">
              <img src="https://gss0.baidu.com/-fo3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/b21bb051f8198618a85eb08f4eed2e738bd4e6a4.jpg" />
             <div class="text-center">
                周星驰的《功夫》宣传海报。
             </div>
          </div>
           <div class="col-xs-12  col-md-8 col-md-offset-2  col-sm-6 col-sm-offset-3">
             <h2>周星驰主要电影作品:</h2>
             <ul>
               <li>1993年	《唐伯虎点秋香》	周星驰、巩俐、陈百祥、郑佩佩等主演。</li>
               <li>1994年	《国产凌凌漆》	周星驰、袁咏仪等主演。</li>
               <li>1994年	《破坏之王》	周星驰、钟丽缇等主演。 </li>
               <li>1995年	《大话西游》	周星驰、朱茵、莫文蔚等主演。</li>
               <li>1996年	《食神》	周星驰、莫文蔚等主演。</li>
               <li>1996年	《大内密探零零发》	周星驰、刘嘉玲、李若彤等主演。</li>
               <li>1999年	《喜剧之王》	周星驰、张柏芝、莫文蔚等主演。</li>
               <li>2001年	《少林足球》	周星驰、赵薇、吴孟达等主演。</li>
               <li>2004年	《功夫》 	周星驰、黄圣依等主演。</li>
               <li>2008年	《长江7号》	周星驰、徐娇、张雨绮等主演。</li>
               <li>2010年	《长江7号爱地球》	石班瑜、徐娇(配音演员)等。</li>
               <li>2013年	《西游·降魔篇》 	文章、舒淇、黄渤等主演。</li>
               <li>2016年	《美人鱼》 	邓超、林允、张雨绮、罗志祥等主演。</li>
             </ul>
             <blockquote class="text-primary">
               <p>“曾经有一份真诚的爱情放在我面前,我没有珍惜,等我失去的时候我才后悔莫及,人世间最痛苦的事莫过于此。 </p>
               <p>如果上天能够给我一个再来一次的机会,我会对那个女孩子说三个字:我爱你。 </p>
               <p>如果非要在这份爱上加上一个期限,我希望是…… </p>
               <p>一万年”</p>
               <footer><cite>周星驰的《大话西游》</cite></footer>
             </blockquote>
             <h3>想要了解更多,请访问:<a href="https://baike.baidu.com/link?url=bkQ0pLNMyXCzYZXadCVOg09zrRYmMTV_7YdSoguuDC0ECM5iax8ck5uMrN_zQI7tw3zmzJV4SRVtuDWtFaxhgvJKQbd8U-haC3oWL-PNNelyAeqMDSBjRLBhfROi53H7">百度百科</a></h3>
           </div>
      </div>
    </div>
  </div>
    <div>
      <hr />
      <div class="text-center">Coded by wangpeishun</div>
    </div>
</div>

            
          
!
            
              body{
  margin:50px;
  font-family:'微软雅黑','黑体';
}
            
          
!
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