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.

              //REF: https://ianchen.thisistap.com/bootstrap-basic-class/

  h1 Hello Bootstrap!
  p Bootstrap是很多人使用的網頁模板,裡面有很多別人寫好的現成css資源,也有用來排版很方便的網格系統
  a.btn.btn-primary(href="http://kkbruce.tw/bs3" target="_blank") 了解更多(中文說明文件)
 h3.page-header 表格練習
    th 項目
    th 優點
    th 缺點
   th 速度
   th 可以很快建立網頁
   th 看起來大同小異
   th 樣式
   th 基本視覺不會太離譜
   th 深入改需要功力
   th 適合情境
   th 沒時間的時候
   th 獨特設計,動態網頁

 h3.page-header 清單練習
  li.list-group-item list-group 清單
   span.badge list-group-item 裡面的項目
  li.list-group-item.disabled span.badge 右方小提醒
   span.badge disabled禁用的灰色
  li.list-group-item.active breadcrumn 麵包屑導覽列 
   span.badge active亮起來
  li.list-group-item.list-group-item-success .list-group-item-success成功的綠

 h3.page-header 麵包屑導覽列
   a 動態網頁課程
   a Bootstrap介紹
   a 第一個範例

 h3.page-header 按鈕的大小與調整
   .btn.btn-default 前往報名課程
   .btn.btn-primary 主要的按鈕
   .btn.btn-danger.btn-lg 危險按鈕
   .btn.btn-warning 警告
   .btn.btn-success.btn-xs 成功按鈕
    .btn.btn-default 設定
    .btn.btn-primary 帳號
    .btn.btn-default 課程
    .btn.btn-default 購買資訊
    .btn.btn-default 前往報名課程
    .btn.btn-default 前往報名課程
 h3.page-header 寫完HTML就可以刻完網頁的設計哲學
 p 當時間很趕/或是原本對設計版面沒有什麼概念的時候,就會希望,如果元件都幫我刻好好的是不是就可以刻完html網頁就做完了?
 h3.page-header well文字框樣式
 p.well 省時又方便的Bootstrap,是由兩個twitter員工開發的框架
 font-family: 微軟正黑體
 font-weight: 900

//.table-striped 條紋式的row
🕑 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.