Pen Settings



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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

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


                <div id="newMenu">
			<li><a href="default.asp">Home</a></li>
  <li><a href="health_profile.asp">Health Profile</a></li>		 
		    <li><a href="testResults.asp">Test Results</a></li>
			<li><a href="refills.asp">Prescriptions</a></li>
			<li><a href="appointments.asp">Appointments</a></li>
			<li><a href="message_center.asp">Message Center</a></li>
			<li><a href="documents.asp">Documents</a></li>
			<li><a href="preferences.asp">Account Settings</a></li>


                #newMenu {
	background: #144E74;
	font-family: Arial;
  /* 14px / 16px = .875rem */
  font-size: 14px;
  font-size: .875rem;
	width: 900px;

#newMenu ul {
  /* set family here to let it cascade */
  font-family: Verdana;
  /* remove white space */
  font-size: 0;
  /* remove list-item styling */
  list-style: none;
  /* remove default margin and padding */
  margin: 0;
  padding: 0;
  /* align menu items to center */
  text-align: center;
#newMenu ul li {
  /* remove default list-item style */
  display: inline;
  /* 12px / 16px = .75rem */
  font-size: 12px;
  font-size: .75rem;
  /* remove default margin */
  margin: 0;
#newMenu ul li a {
  background: #144E74;
  color: #FFF;
  /* make links inline-blocks, let links decide the height of #newMenu */
  display: inline-block;
  /* remove default focus indicator */
  outline: none;
  /* adjusted to match earlier margin-left: -4px (which was also intended to be used to remove white space, but font-size: 0; already deals with that issue) */
  padding: 15px 13px;
  /* give links a stacking context to make them be drawn above static elements (z-index: 0; removed because it is the default z-index) */
  position: relative;
  /* remove default underline */
  text-decoration: none;

#newMenu ul li a:hover {
  color: #FFF;
	background: #00927E;