Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <div class="container max-width-sm padding-y-lg">
  <div class="text-component">
    <h1>🚀 Get started with CodyFrame</h1>
    <p class="color-contrast-medium">Follow these 3 steps to kick-start your project:</p>

    <ol class="list list--ol">
      <li>Import components from the <a href="https://codyhouse.co/ds/components" target="_blank" rel="noopener nofollow">CodyHouse UI Framework</a>. To add a component to your project, create a new SCSS file (e.g., <strong>_{index}_{component-name}.scss</strong>) inside the "assets/css/components/" folder and paste in it the SCSS of the component. Create a new JS file (e.g., <strong>_{index}_{component-name}.js</strong>) inside the "assets/js/components/" folder and paste in it the JS of the component. You will find the <em>index</em> value in a comment in the SCSS/JS files of the component.</li>
      <li>Create your bespoke style (e.g., custom buttons and forms) using the <a href="https://codyhouse.co/ds/globals" target="_blank" rel="noopener nofollow">Global Editors</a>. To apply the custom style to your project, copy the SCSS generated by the editor and paste it in the corresponding file in the "main/css/custom-style" folder.</li>
      <li>Install one of our <a href="https://codyhouse.co/ds/docs/extensions" target="_blank" rel="noopener nofollow">code editor extensions</a> for HTML/CSS autocompletion.</li>
    </ol>

    <h2>Documentation</h2>
    <p>For further help, <a href="https://codyhouse.co/ds/get-started" target="_blank" rel="noopener nofollow">check the documentation</a>.</p>
  </div>
</div>
              
            
!

CSS

              
                // 🐞 CodyFrame template
// 📝 Docs: codyhouse.co/ds/get-started
// 📦 Download: https://github.com/CodyHouse/codyhouse-framework
              
            
!

JS

              
                
              
            
!
999px

Console