123

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.

            
              <link href="//fonts.gdgdocs.org/css?family=Lobster" rel="stylesheet" type="text/css">

<ol>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>每个诗人心中都有自己的致橡树,by 舒婷。</strong></li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>每个程序猿心中都有自己的偶像,写一个致敬页来向自己的偶像致敬。</strong></li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li>当你看不到右边的视频时,说明你还身处防火墙中,赶紧翻墙去体验<a href=""><strong>自由无阻碍的互联网</strong>。</a></li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li>如果你还不明白翻墙对个人成长的重要性,请去看电影<a href=""><strong>《肖申克的救赎》</strong></a>。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>目标:</strong> 设计一个类似于: <a href=""><strong>https://codepen.io/FreeCodeCamp/full/NNvBQW/</strong></a>的页面。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>规则1: </strong>代码是开源的,你可以借鉴,但请不要抄袭。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>规则2:</strong> 用你喜爱的任何库来定制属于你自己的风格,实现下面的功能</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>功能1:</strong> 你可以用图片和文本来实现这个致敬页面。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li><strong>功能2: </strong>你可以点击链接穿越到另一个网站,获得关于这个主题的更多信息。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li>当你遇到困难的时候,记得查看错误提示、阅读文档、搜索、提问。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
    <li>当你完成了这个项目,请点击 "我已经完成了这个挑战" 按钮,输入你的项目在CodePen上的链接。</li>
    </div>
  </div>
  <div class="row">
    <div class="col-sm-1">
    <input type="checkbox">
    </div>
    <div class="col-sm-11">
      <li>你可以分享这个项目给<a href=""><strong>JackJin</strong></a>或<a href=""><strong>聊天室</strong></a>来获得反馈。</li>
    </div>
  </div>
</ol>

            
          
!
            
                a{
  color:green;}
  body{
   font-family: Monospace;
  }

            
          
!
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