Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                
<div class="container pt-5">
  <h6>問題一: 我想要在手機版呈現滿寬(100%),在PC版(lg以上)呈現一個三欄、一個九欄的排版應該怎麼做?</h6>
  <div class="row">
    <div class="練習">PC版3欄,手機版滿寬</div>
    <div class="練習">PC版9欄,手機版滿寬</div>
  </div>

</div>

<div class="container pt-5">
  <h6>問題二: 我要在手機版呈現滿寬(100%),md以上呈現兩欄排列,在PC版以上呈現4欄排列該怎麼做?</h6>
  <div class="row">
    <div class="練習">PC版4欄,md以上兩欄,手機版滿寬</div>
    <div class="練習">PC版4欄,md以上兩欄,手機版滿寬</div>
    <div class="練習">PC版4欄,md以上兩欄,手機版滿寬</div>
    <div class="練習">PC版4欄,md以上兩欄,手機版滿寬</div>
  </div>

</div>


<!-- Answer 1-->
<!-- <div class="container pt-5">
  <h6>問題二: 我要在手機版呈現滿寬(100%),md以上呈現兩欄排列,在PC版以上呈現4欄排列該怎麼做?</h6>
  <div class="row">
    <div class="col-lg-3 col-md-6">PC版4欄,md以上兩欄,手機版滿寬</div>
    <div class="col-lg-3 col-md-6">PC版4欄,md以上兩欄,手機版滿寬</div>
    <div class="col-lg-3 col-md-6">PC版4欄,md以上兩欄,手機版滿寬</div>
    <div class="col-lg-3 col-md-6">PC版4欄,md以上兩欄,手機版滿寬</div>
  </div>

</div> -->

<!-- Answer 2-->
<!-- <div class="container pt-5">
  <h6>問題一: 我想要在手機版呈現滿寬(100%),在PC版(lg以上)呈現一個三欄、一個九欄的排版應該怎麼做?</h6>
  <div class="row">
    <div class="col-lg-3">PC版3欄,手機版滿寬</div>
    <div class="col-lg-9">PC版9欄,手機版滿寬</div>
  </div>

</div> -->
              
            
!

CSS

              
                .row>*{    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(39,1,43,0.3);
    border: 1px solid rgba(39,41,43,0.1);
}
  
              
            
!

JS

              
                
              
            
!
999px

Console