Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


                <link href=",400,700" rel="stylesheet">

<div class="drop-cap">
  <h2>DROPCAP LIST</h2>
1 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <a href="#!">Ut enim ad minim</a> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
2 Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae.
3 Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur.
4 Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.


                html {
  font-size: 18px;
  font-family: 'Roboto Slab', serif;
  background: #eee;
  padding: 0 20px;

h2 {
  font-size: calc(3rem + 0.5vw);
  color: rgba(214, 163, 204, 1);
  margin: 0;

.drop-cap {
  font-size: calc(1rem + 0.5vw);
  max-width: 900px;
  margin: 100px auto;
  position: relative;
  p { 
    cursor: pointer;
    transition: ease 0.3s;
    background: #fff;
    padding: 100px 100px 100px 150px;
    font-weight: 400;
    margin-bottom: 50px;
    z-index: 2;
    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.05);
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.05);

    &:hover {
      -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.05);
      -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.05);
      box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.05);
      transform: translatey(4px)
    a {
      color: inherit;
      text-decoration: none;
      position: relative;
      &:after {
        position: absolute;
        content: "";
        border-bottom: 2px solid rgba(214, 163, 204, 1);
        width: 100%;
        left: 0;
        bottom: 0px;
    &::selection { 
      color: #fff;
      background: rgba(214, 163, 204, 1);
    &:first-letter {
      z-index: 1;
      float: left;
      color: rgba(255, 0, 0, 0.2);
      margin-right: -1000px;
      margin-left: -80px;
      margin-top: -120px;
      font-size: calc(15rem + 2vw);
      font-weight: 700;
      text-shadow: 15px 15px rgba(0,0,255,0.2);