Pen Settings



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


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


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.


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.

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.


    --- Load JavaScript file from CDN ---
    You can change the sound kit to load by changing "kit=01" to "kit=02"
		<script src="[email protected]/dist/browser/snd.js?kit=01"></script>
    <h1>SND HTML+CSS Demo</h1>
    <p>You can add sound for your UI by just adding classes to HTML Elements.</p>
    <h2>Basic Interaction</h2>
    <div class="container">
        Pointer device interaction: 
        <input type="button" class="snd__button" value="button" />
        <input type="button" class="snd__disabled" value="disable" style="opacity: 0.5" />
        <span class="snd__tap tap_area">tap</span>
        <a href="#" class="snd__caution" onClick="javascript: return false">caution</a>
        <a href="#" class="snd__notification" onClick="javascript: return false">notification</a>
        <a href="#" class="snd__transition_down" onClick="javascript: return false">transition_down</a>
        <a href="#" class="snd__transition_up" onClick="javascript: return false">transition_up</a>
    <form class="container" onSubmit="javascript: return false;">
        <input type="text" class="snd__type" value="" /> 
        <input type="checkbox" class="snd__toggle" />
        <select class="snd__select snd__toggle">
          <option value="option1">option1</option>
          <option value="option2">option2</option>
          <option value="option3">option3</option>
        <input type="submit" class="snd__celebration" value="submit" />


                body, * {
  font-family: sans-serif;
  font-size: 14px;
h1 {
  font-size: 150%;
  margin: 2rem 1rem;

h2 {
  font-size: 125%;
  margin: 2rem 1rem;
.container {
  max-width: 640px;
  margin-bottom: 2rem;
.tap_area {
  background-color: #ccc;
  margin-left: 0.5rem;
  padding: 0.5rem 2rem;
  border-radius: 5px;
  user-select: none;
p {
  margin: 1rem;

section a {
  margin-right: 0.5rem;

section, label {
  display: block;
  padding: 1rem;
  margin: 1rem;
  background-color: #f0f0f0;
  border-radius: 5px;