css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container">
<header>
  <h1>UC Davis</h1>
</header>
<article>
  <p>
    The University of California, Davis (also referred to as UCD, UC Davis, or Davis), is a public research university and one of the 10 campuses of the University of California (UC) system. It is located in Davis, California, just west of Sacramento,and
    has the third-largest enrollment in the UC System after UCLA and UC Berkeley. The university has been labeled one of the "Public Ivies," a publicly funded university considered to provide a quality of education comparable to those of the Ivy League.
  </p>
  <p>
    The Carnegie Foundation classifies UC Davis as a comprehensive doctoral research university with a medical program, and very high research activity.The UC Davis faculty includes 23 members of the National Academy of Sciences, 25 members of the American
    Academy of Arts and Sciences, 17 members of the American Law Institute, 14 members of the Institute of Medicine, and 14 members of the National Academy of Engineering. Among other honors, university faculty, alumni, and researchers have won the Nobel
    Peace Prize, Presidential Medal of Freedom, Pulitzer Prize, MacArthur Fellowship, National Medal of Science, Blue Planet Prize, and Presidential Early Career Award for Scientists and Engineers.
  </p>
  <p>
    The university has expanded over the past century to include graduate and professional programs in medicine (which includes the UC Davis Medical Center), law, veterinary medicine, education, nursing, and business management, in addition to 90 research
    programs offered by UC Davis Graduate Studies. The UC Davis School of Veterinary Medicine is the largest in the United States and has been ranked first in the nation for two consecutive years, 2015 and 2016.
  </p>
  <p>
    The UC Davis Aggies athletic teams compete in the NCAA Division I level, primarily in the Big West Conference as well as the Big Sky Conference (football only) and the Mountain Pacific Sports Federation. In its first year of full Division I status, 11
    UC Davis teams qualified for NCAA post-season competition.
  </p>
</article>
<footer>&copy; 2017 UC Davis</footer>
</div>
            
          
!
            
              body { 
  background-color: #042D65;
}

.container { 
  background-color: #C59620;
  width: 750px; 
  border: 10px solid #042D65; 
  padding: 25px;
  box-shadow: 5px 5px 25px black; 
  margin: auto;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console