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 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

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 id="wrapper">
  <div id="main">나랏말씀이 중국과 달라
문자끼리 서로 맞지 아니할쎄.
이런 전차로 어린(어리석은) 백성이 이르고자 할 바가 있어도
마침내 제 뜻을 실히 펴지 못하는 사람이 하니라(많으니라).
내 이를 위하여 어엿비 여겨 새로 스물 여덟 자를 만드노니
모든 사람으로 하여금 쉽게 익혀 날로 씀에 편안케 하고자 할 따름이니라.

나랏말싸미 듕귁에 달아 문자와로 서르 사맛디 아니할쎄 이런 전차로 어린 백셩이 니르고져 홇베이셔도 마참네 제 뜨들 시러펴디 몯핧 노미하니아 내 이랄 윙하야 어엿비너겨 새로 스믈 여듫 짜랄 맹가노니 사람마다 해여 수비니겨 날로 쑤메 뻔한킈 하고져 할따라미니라. 
 </div>
  <div id="side">사이드</div>
</div>
              
            
!

CSS

              
                #wrapper {
  display: flex;
}

#main {
  order: 1;
  
  width: 80%;
  padding: 2em;
  background: pink
}
#side {
  order: 2;
  width: 20%;
  padding: 2em;
  background: silver;
}
              
            
!

JS

              
                
              
            
!
999px

Console