Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <h2>presenting the <span>1<sup>st</sup></span></h2>
<h1>Chicago CodePen Meetup</h1>
<p class="event-desc">Grabba pop or a beer, and write a couple-two-tree lines a code!</p>
<p class="event-info"><time datetime="2015-04-13 18:30">Monday, April 13<sup>th</sup> from 6:30</time> to <time datetime="2015-04-13 20:30">8:30pm</time> at <a href="http://workshopchicago.co">Workshop Chicago</a> — 935 W Chestnut.</p>
<a href="https://nvite.com/CodePenChicago/abfd">Seeya dare!</a>
<p class="hashtag"><a href="https://twitter.com/search?q=%23CodePenChicago">#CodePenChicago</a></p>
              
            
!

CSS

              
                /* --- RULES & INSTRUCTIONS --- 
  The only rule is that all of the information in
  the original markup has to be used — you can change
  the markup and move things around as you like as long
  as all of the info is still present.

  Fork this pen and add some CSS and/or JavaScript —
  any flavor, any library, any plugin you like — to 
  jazz dis baby up a bit. Further instructions on
  how to submit your pen will be given at the event,
  but feel free to leave a comment on the original
  pen linking to your fork for review — the submissions
  with the most hearts or something like that will win
  some killer CodePen gear!

  examples of others:
  https://codepen.io/chriscoyier/pen/oAcua
  https://codepen.io/sdras/pen/LEqWNM
  https://codepen.io/pixelass/pen/dPwaJv
  https://codepen.io/indyplanets/pen/XJGVoY/
  https://codepen.io/Hornebom/pen/iKsmj

  Happy forking!
*/

$color-coral: #F45D4C;
$color-green: #A1DBB2;
$color-yellow: #FACA66;
$color-teal: #398A87;
$color-purple: #49007E;
$color-pink: #FF005B;
$color-huh: #00C176;
$color-lilac: #9A8194;
$color-tangerine: #FF7D10;

@import url(https://fonts.googleapis.com/css?family=Josefin+Slab:700,300|Josefin+Sans:300);

body {
  background-color: #2f2f2f;
  color: #fff;
	font-family: 'Josefin Slab', serif;
	font-size: 100%;
	line-height: 1;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
	font-size: 10rem;
	font-weight: 700;
	line-height: 1.0;
	margin: 1rem auto;
  text-align: center;
}

p {
	font-family: 'Josefin Sans', sans-serif;
	margin: 1rem auto;
  line-height: 1;
}

h2 span {
  color: $color-coral;
  
}

h2 {
  color: $color-coral;
  display: block;
  font-size: 2.3rem;
  font-weight: 300;
  margin: 0;
  text-align:center;
}

p {
  color: $color-yellow;
}

.event-info {
   border-top: 1px solid #444;
   border-bottom: 1px solid #444;
   color: #fff;
   font-size: 2.2rem;
   padding: 2rem 0;
   margin: 3rem 3rem;
}

.event-desc {
  font-size: 1rem;
  margin: 0 3.4rem;
  text-align: left;
}

.hashtag a {
  color: $color-yellow;
  font-size: 2.0rem;
  margin: 2rem auto;
}

a, a:visited {
  color: $color-green;
  text-decoration: none;
}
              
            
!

JS

              
                
              
            
!
999px

Console