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.


                <main id="main">
  <div class= "card">
  <h1 id
      ="Tite">Diana, Princess of Wales</h1>
   <div id="img-div">
    <img id="image" src=";0.207xw,0.0567xh&resize=640:*" alt ="An image of Princess Diana"></div>
     <div class="container">
     <h2 id="img-caption">'The Princess Diana.'</h2>
  <h3 id="tribute-info">A timeline of Princess Diana and her contributions  </h3>
      <li> <strong>1961</strong>: Diana Frances Spencer was born July 1</li>
       <li> <strong>1967</strong>: Diana's parents separate when she is six years old.</li>
       <li> <strong>1973</strong>: Diana joins West Heath Girls' School in Kent, where she shows talent in music and sports but not academics. Later, she fails her O-level exams twice, and leaves without the equivalent of a high school diploma.</li>
       <li> <strong>1975</strong>: Diana, aged 13, is given the title of Lady after her grandfather dies and her father inherits the title Earl of Spencer and the Althorp estate.</li>
       <li> <strong>1977</strong>: Diana first meets future husband Prince Charles, who at the time was dating her older sister Sarah.</li>
       <li> <strong>1980</strong>: During a summer weekend in the country, Prince Charles notices Diana. Later that year, he takes her sailing on the royal yacht and invites her to Balmoral, his family's Scottish retreat to meet his family.</li>
       <li> <strong>1981</strong>: It was a very busy year for the Princess.</li>
      <ol> <u>January</u>-Prince Charles proposes to Diana</ol>
      <ol><u>Feburary</u>-Charles and Diana go public with their engagement (and Diana debuts her famous sapphire-and-diamond ring).</ol>
      <ol><u>July</u>- Diana weds Charles, 32, at St. Paul's Cathedral.</ol>
      <ol><u>November</u>-The palace announces Diana is pregnant with her first child.</ol>
       <li> <strong>June 21, 1982</strong>: The couple's first child, Prince William Arthur Philip Louis, is born at London's St. Mary's Hospital</li>
       <li> <strong>March 1983</strong>: Together with Charles, Diana and 9-month-old son William embark on their first royal tour together to Australia and New Zealand.</li>
       <li> <strong>Sept. 15, 1984</strong>: The couple's second son, Prince Henry Charles Albert David, aka Harry, is born</li>
      <li> <strong>April 1987</strong>: At the peak of homophobia and fear of AIDS, Diana shakes hands with a man suffering from the disease without gloves at London's Middlesex Hospital. Her gesture is later described by journalist Judy Wade as "the most important thing a royal's done in 200 years"</li>
      <li> <strong>December 1993</strong>: Diana announces her plan to retire from public life, at least for an indefinite period, and dramatically pares down her list of charity patronages.</li>
      <li> <strong>August 1996</strong>: The terms of the royal divorce between Diana and Charles are finalized. </li>
      <li> <strong>Jan. 15, 1997</strong>: Diana walks through a minefield in war-torn Angola to support the Red Cross' call for a ban on landmines and to showcase the de-mining work being done by one of the charities she patronized.</li>
      <ol> <u>Aug 30</u>: The intoxicated driver of Diana and her new beau, Dodi Fayed, crashes their Mercedes into a cement pylon, killing himself and Fayed instantly. Diana and bodyguard Trevor Rees-Jones are taken to the hospital.</ol>
      <ol> <u>Aug 31</u>: Diana succumbs to her injuries (mostly cardiac in nature) and is pronounced dead at 4 a.m. at Paris' PItié-St. Salpêtrière Hospital at age 36.</ol>
      <ol> <u>Sept 1</u>: Charles accompanies his ex-wife's remains back from Paris, along with her older sisters, Sarah and Jane.</ol>
      <li> <strong>Sept. 6, 1997</strong>: Millions around the world watch Diana's funeral procession and service at Westminster Abbey. Later that day, her remains are transported home to her family's estate at Althorp, where she is buried.</li>
    <p>If you seek further infirmation on the Princess, do check out her <a href=",_Princess_of_Wales" target="blank" id="tribute-link">Wikipedia page</a>.</p>



                @import url('');

  background-color: rgba(220, 224, 224, 0.5);

  font-size: 40px;
  text-align: center;
  font-family: Encode Sans SC, monospace;
  font-weight: bolder;
   width: 100%;
    height: auto;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  font-size: 15px;
  text-align: center;
  font-family: Encode Sans SC, monospace;
  font-size: 25px;
  font-family: Encode Sans SC, monospace;
  font-weight: bold;
  font-family: Encode Sans SC, monospace;
  font-size: 20px;
  font-weight: bold;

.card {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: 0 5px 5px 5px rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 25px; /* rounded corners */