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

              
                <h1>I'm Elizabeth Yalkut.</h1>
<p>I make things. I make food, novels, websites, mistakes, friendships, and pots of tea. Among others. (The tea and websites are my favorites.)
</p><p>I'm one-half of the <a href="http://irregulargentlewomen.org">Irregular Gentlewomen</a>, a hacktivist collective dedicated to curiosity, feminism, and dragons, and which <a href="https://github.com/irregulargentlewomen">open sources code</a>.</p>
<input type="radio" id="select-all" name="button">
<label for="select-all" class="label-all"> All </label>
<input type="radio" id="select-personal" name="button">
<label for="select-personal" class="label-personal"> Personal </label>
<input type="radio" id="select-wfh" name="button">
<label for="select-wfh" class="label-wfh"> Work-For-Hire </label>

<ul class="gallery">
  <li class="wfh-item">
    <img src="https://assets.codepen.io/65525/qfastr.jpg" alt="">
    <p>Quadrangle Fund for Advancing and Seeding Translational Research</p>
  </li>
  <li class="wfh-item">
    <a href="https://datamanagement.hms.harvard.edu">
      <img src="https://assets.codepen.io/65525/datamanagement.jpg" alt="">
      <p>Biomedical Data Management</p>
    </a>
  </li>
  <li class="wfh-item">
    <a href="https://hms.harvard.edu">
      <img src="https://assets.codepen.io/65525/hms.jpg" alt="">
      <p>Harvard Medical School</p>
    </a>
  </li>
  <li class="wfh-item">
    <a href="http://wellbeing.columbia.edu">
      <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/65525/Live_Well___Learn_Well.png" alt="">
      <p>Live Well | Learn Well</p>
    </a>
  </li>
  <li class="wfh-item">
    <a href="http://college.columbia.edu/campaign">
      <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/65525/Core_to_Commencement.png" alt="">
      <p>Core to Commencement Campaign</p>
    </a>
  </li>
  <li class="wfh-item">
    <a href="http://holder.college.columbia.edu">
      <img src="https://assets.codepen.io/65525/holder-2021.jpg" alt="">
      <p>The Eric H. Holder, Jr. Initiative for Civil and Political Rights</p>
    </a>
  </li>
  <li class="wfh-item">
    <a href="http://ogp.columbia.edu">
      <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/65525/Study_Abroad___Global_Programs_and_Fellowships.png" alt="">
      <p>Global Programs</p>
    </a>
  </li>
  <li class="wfh-item">
    <a href="http://college.columbia.edu/alumni">
      <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/65525/Columbia_College_Alumni_Association.png" alt="">
      <p>Columbia College Alumni Association</p>
    </a>
  </li>
  <li class="wfh-item"><a href="https://giving.columbia.edu/givingdaysocialmedia/"><img src="https://assets.codepen.io/65525/givingday-2014.png" /><p>Columbia Giving Day 2014</p></a></li>
  <li class="wfh-item"><a href="https://alumdev.columbia.edu/planperform"><img src="https://assets.codepen.io/65525/planning-performance.png" /><p>Planning &amp; Performance Tool</p></a></li>
  <li class="personal-item"><a href="https://codepen.io/elizabethyalkut/full/vjABF"> <img src="https://assets.codepen.io/65525/lettershome.png" />
    <p>Letters Home</p>
    </a> </li>
  <li class="wfh-item"> <a href="https://giving.columbia.edu/givingday"><img src="https://assets.codepen.io/65525/givingday-2013.png" />
    <p>Columbia Giving Day 2013</p>
    </a> </li>
  <li class="personal-item"><a href="http://irregulargentlewomen.org/wendyclock"> <img src="https://assets.codepen.io/65525/wendyclock.png" />
    <p>#wendyclock</p>
    </a> </li>
  <li class="wfh-item"> <a href="https://alumniarts.columbia.edu"><img src="https://assets.codepen.io/65525/artsaccess.png" />
    <p>Arts Access</p>
    </a> </li>
  <li class="wfh-item"> <a href="https://careers.alumdev.columbia.edu/"><img src="https://assets.codepen.io/65525/mycolumbiacareer.png" />
    <p>My Columbia Career</p>
    </a> </li>
  <li class="personal-item"> <a href="https://ratedrforrapist.herokuapp.com/"><img src="https://assets.codepen.io/65525/ratedr.png" />
    <p>Rated R for Rapist</p>
    </a> </li>
  <li class="personal-item"> <a href="http://carolynyalkut.com/"><img src="https://assets.codepen.io/65525/carolyn.png" />
    <p>Carolyn Yalkut</p>
    </a> </li>
  <li class="personal-item"> <a href="https://irregulargentlewomen.github.io/feminist-bingo/"><img src="https://assets.codepen.io/65525/bingo.png" />
    <p>Interactive Feminist Bingo</p>
    </a> </li>
  <li class="wfh-item"> <a href="http://www.macfound.org"><img src="https://assets.codepen.io/65525/macarthur.png" />
    <p>MacArthur Foundation</p>
    </a> </li>
</ul>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="28" height="49" viewBox="0 0 28 49"%3E%3Cg fill-rule="evenodd"%3E%3Cg id="hexagons" fill="%239C92AC" fill-opacity="0.4" fill-rule="nonzero"%3E%3Cpath d="M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
      background-color: rgba(255,255,255,0.6);
    background-blend-mode: lighten;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  width: 90vw;
  font-family: "Josefin Sans", "Trebuchet MS", sans;
  font-size: 100%;
}
ul {
  padding: 0;
  margin: 1em auto;
  display: flex;
  flex-wrap: wrap;
  display: grid;
  grid-gap: 1rem;
  @media (max-width:599px){
    grid-template-columns: 50% 50%;
  }
  @media (min-width: 600px) {
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  }
  grid-auto-rows: minmax(3rem, auto);
  li {
    position: relative;
    list-style-type: none;
    /* for flexbox */
    flex: 1 1 30%;
    p {
      color: #096;
      background-color: rgba(255, 255, 255, 0.7);
      display: none;
      margin-top: 0;
      position: absolute;
      left: 5px;
      top: 5px;
      padding: 5px;
      width: calc(100% - 0.5rem);
    }
    img {
      padding: 0.25rem;
      border: 1px solid #ccc;
      width: 100%;
      background-color: white;
    }
    &:hover {
      img {
        border-color: #999;
      }
      p {
        display: block;
      }
    }
  }
}
p {
  font-size: 1.6em;
  line-height: 1.3;
  a {
    color: #096;
    text-decoration: none;
    border-bottom: solid 1px transparent;
    transition: all ease-in 0.5s;
    &:hover {
      border-bottom-color: #096;
      font-style: italic;
    }
  }
}
label {
  cursor: pointer;
  background-color: rgba(#323131, 0.7);
  color: #fff;
  font-size: 1.6em;
  transition: all ease-in 0.25s;
  padding: 0.5rem 0.75rem;
  &:hover {
    color: rgba(#096, 0.7);
    background-color: rgba(#323131, 0.2);
  }
}
input {
  position: absolute;
  opacity: 0;
}
/*Select Categories*/
input#select-personal:checked ~ .gallery li:not(.personal-item),
input#select-wfh:checked ~ .gallery li:not(.wfh-item) {
  opacity: 0.1;
}
input:checked + label {
  color: #096;
}

              
            
!

JS

              
                
              
            
!
999px

Console