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

              
                <!DOCTYPE html>
<html>
<head>
</head>
<body>

<h2>Demo for CSS Inheritance</h2>
<p>Ankit Enterprises, established in December 2000, started with a small book store. The company  has come a long way to proudly call itself the sole distributor of notebooks & textbooks which it supplies to all corners of Goa. Ankit Enterprises has a state-of-art facility in Sancoale Industrial Estate which produces a range of stationary products used in day-to-day life.<a href="https://ankitpathshala.com/">link to website</a> It has set up a giant enterprise selling more than one million products of its own Ankit brand in Goa and in neighboring cities such as Hubli, Belgaum, Kolhapur, and various other parts of Maharashtra and Karnataka </p>

<p>We believe that education is a fundamental right should be made available to each and every child. There are a number of different offerings in the market, but to make them available at an affordable cost is the big question. <a href="https://ankitgoa.com/">link to website</a> We at Ankit Pathshala, make sure that each child deserves an enriching environment to learn and grow without being limited by their circumstances</p>
</body>
</html>

              
            
!

CSS

              
                body {
  margin: 20px;
  font-family: 'verdana';
  font-size: 1.25em;
  line-height: 1.5;
}
              
            
!

JS

              
                
              
            
!
999px

Console