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

Packages

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.

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

              
                <link href="https://fonts.googleapis.com/css?family=Cormorant+Garamond" rel="stylesheet"> 
<div class="container-fluid">
  <div class="slightly-smaller-container text-center">
    <div class="page-header">
  <h1>Smith College</h1>
      <h2>To Virtue, Knowledge.</h2>
      </div>
<img src="https://www.smith.edu/news/gatenew/wp-content/uploads/2014/11/DSC00548.jpg" class="center-block img-responsive gates-image" alt="Smith College Grecourt Gates" class="text-primary"></img>
<br>
<div class="big-table">
  <div class="row row-spacing">
    <div class="col-md-4">Smith College opened its doors in <b>1875</b> with 14 students and six faculty.</div>
    <div class="col-md-4">The college admits only <b>women</b> or <b>female-identified</b> individuals.</div>
  <div class="col-md-4">Professor Seeyle was the first president of the college, the main academic building on campus is named after him.</div>
</div>
<div class="row row-spacing">
  <div class="col-md-4">Smith College's acceptance rate in 2015 was <b>35.97%</b> (1,800 were accepted out of 5,004 who applied).</div>
  <div class="col-md-4">Smith is the largest privately endowed college for women in the country.</div>
  <div class="col-md-4">The college is located in <b>Northampton, Massachusetts</b>, about two hours from Boston.</div>
</div>
<div class="row row-spacing">
  <div class="col-md-4">The current president of the college is <b>Kathleen McCartney</b>, who has been president since 2013.</div>
  <div class="col-md-4">The campus was planned and planted in the 1890s as a <b>botanical garden</b> and <b>arboretum</b>, designed by Frederick Law Olmsted.</div>
  <div class="col-md-4">Smith College has 285 professors in 41 academic departments and programs, for a faculty:student ratio of 1:9.</div>
    </div>
  </div>
 
<div class="quote-text">"The first problem for all of us, men and women, is not to learn, but to unlearn." </div>
  <div>--<b>Gloria Steinem</b>, Feminist, Journalist, and Smith College Alumna</p></div> 

  <br><h3>For more information about Smith College, you can visit its website <a href="http://www.smith.edu" target="_blank">here</a></h3>.</center>
</div>
</div>

              
            
!

CSS

              
                .container-fluid {
 background-color: #31298b;
}

.slightly-smaller-container {
  padding: 20px;
  margin: 20px;
  background-color: #C0C0C0;
  border-color: #eec208;
  border-style: solid;
  border-radius: 15px;
}

h1 {
  text-align: center;
  color: black;
  font-family: Trajan;
  letter-spacing: 6px;
  font-weight: bold;
  font-size: 80px;
}

h2 {
  font-style: italic;
  font-family: Trajan;
  letter-spacing: 4px;
}

.gates-image {
  border-radius: 70%;
  border-width: 4px;
  max-width: 80%;
  border-color: black;
  border-style: solid;
}

.big-table {
  padding: 15px;
}

.row-spacing {
  padding: 15px;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 30px;
}
              
            
!

JS

              
                
              
            
!
999px

Console