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

              
                <p>
  개발자를 위한 다양한 웹 기술을 배워보세요.
  <span class="tooltip">HTML<span class="tooltip-text">HyperText Markup Language</span></span>은 웹페이지에 내용을 기술하고 정의하는 데 사용합니다.
  <span class="tooltip">CSS<span class="tooltip-text">Cascading Style Sheets</span></span>는 웹페이지 콘텐츠의 모양이나 표현을 기술하는 데 사용합니다.
</p>
              
            
!

CSS

              
                body {
  padding: 20px;
}

p {
  line-height: 1.4;
}

.tooltip {
  display: inline-block;
  color: deeppink;
  font-weight: bold;
}

.tooltip-text {
  display: none;
  position: absolute;
  max-width: 200px;
  border: 1px solid;
  border-radius: 5px;
  padding: 5px;
  font-size: 0.8em;
  color: white;
  background: deeppink;
}

.tooltip:hover .tooltip-text {
  display: block;
}
              
            
!

JS

              
                
              
            
!
999px

Console