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

              
                <!-- Trigger/Open The Modal -->
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#demoModal">
  Open Modal
</button>

<!-- Modal -->
<div class="modal fade" id="demoModal" tabindex="-1" aria-labelledby="demoModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="demoModalLabel">I am a modal</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
				<p>Pig cupim doner short ribs corned beef buffalo picanha andouille short loin sausage salami brisket beef ribs beef. Buffalo sirloin kielbasa frankfurter flank ball tip strip steak filet mignon. Spare ribs t-bone chuck, capicola meatball cow pig short loin shank tri-tip kielbasa fatback biltong swine tongue. Bacon flank shoulder ham kielbasa pork loin. Swine shoulder doner hamburger brisket. Ball tip doner bresaola corned beef flank strip steak frankfurter, meatball alcatra swine rump venison shoulder pork belly leberkas.</p>

				<p>Ground round boudin tail, bresaola chuck tongue burgdoggen shankle prosciutto. Ground round shoulder bacon jerky flank leberkas capicola. Drumstick turducken beef ribs shankle pig, biltong boudin jowl ground round turkey tail. Prosciutto ball tip buffalo, frankfurter rump chislic beef brisket tongue ham hock bresaola sausage flank ground round.</p>

				<p>Filet mignon tenderloin strip steak beef corned beef doner, chislic leberkas bresaola tri-tip shank chicken frankfurter meatball porchetta. Short ribs salami picanha, alcatra shank jowl ham ball tip pork chop flank short loin. Hamburger ham meatloaf rump jowl pork loin short loin frankfurter landjaeger chicken chislic tri-tip. Flank picanha sirloin corned beef, shank doner swine cow bacon drumstick brisket. Biltong boudin kielbasa ribeye, pork drumstick flank alcatra sausage chislic frankfurter beef ribs. Ball tip jowl salami, venison pancetta ham hock spare ribs porchetta beef ribs rump strip steak beef flank. Jerky turkey ground round, ball tip pork loin frankfurter pork belly alcatra ham beef meatball tongue sausage.</p>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console