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


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.


                <!doctype html>
<html lang="en">

  <meta charset="UTF-8">
  <link href="|Princess+Sofia&display=swap" rel="stylesheet">
  <link rel="stylesheet" type="text/css" href="invite-style.css">

    <h1>Harry&nbsp;&#38;&nbsp;Ginny&#8217;s Wedding</h1>
  <section id="mainContent">
    <h2>May&nbsp;4,&nbsp;2010 at <time datetime="15:00">3:00&nbsp;PM</time></h2>
    <p>Join Harry&nbsp;&#38;&nbsp;Ginny as they embark on their greatest adventure in holy matrimony. Enchanted reception to follow ceremony.</p>
  <footer>Kindly RSVP via owl to Mr.&nbsp;&#38;&nbsp;Mrs.&nbsp;Weasley at The&nbsp;Burrow by April&nbsp;1st</footer>



                html {
  background: rgb(255, 255, 255);
h1 {
  color: rgb(101, 67, 33);
  font-family: "Princess Sofia", cursive;
  font-size: 100px;
  line-height: 1.1em;
  text-shadow: 0px -2px 0px rgba(209, 174, 134, 0.3),
    0px 2px 0px rgba(125, 93, 56, 0.7);
body {
  background-image: url("");
  -webkit-box-shadow: 10px 13px 16px 0px rgba(0, 0, 0, 0.22);
  -moz-box-shadow: 10px 13px 16px 0px rgba(0, 0, 0, 0.22);
  box-shadow: 10px 13px 16px 0px rgba(0, 0, 0, 0.22);
  font-family: "Great Vibes", cursive;
  text-align: center;
  font-size: 24px;
  margin: 0 auto;
  padding: 1px;
  width: 40em;
  max-width: 100%;
p {
  width: 24em;
  margin: 0 auto;
  padding-bottom: 2em;
  max-width: 100%;
dd {
  margin: 0;
  padding: 0 0 0em 0;
dl {
  text-transform: capitalize;
  padding-bottom: 1em;
dt {
  font-weight: bold;
  font-size: 36px;
footer {
  width: 11em;
  margin: 0 auto;
  max-width: 100%;
  padding-bottom: 2em;
footer:after {
  content: ".";