cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              <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>. I try to <a href="https://github.com/elizabethyalkut">open-source as much of my other projects as possible</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"><a href="https://giving.columbia.edu/givingdaysocialmedia/"><img src="http://elizabethyalkut.com/portfolio/givingday-2014.png" /><p>Columbia Giving Day 2014</p></a></li>
  <li class="wfh-item"><a href="https://alumdev.columbia.edu/planperform"><img src="http://elizabethyalkut.com/portfolio/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="http://elizabethyalkut.com/portfolio/lettershome.png" />
    <p>Letters Home</p>
    </a> </li>
  <li class="wfh-item"> <a href="https://giving.columbia.edu/givingday"><img src="http://elizabethyalkut.com/portfolio/givingday-2013.png" />
    <p>Columbia Giving Day 2013</p>
    </a> </li>
  <li class="personal-item"><a href="http://irregulargentlewomen.org/wendyclock"> <img src="http://elizabethyalkut.com/portfolio/wendyclock.png" />
    <p>#wendyclock</p>
    </a> </li>
  <li class="wfh-item"> <a href="https://alumniarts.columbia.edu"><img src="http://elizabethyalkut.com/portfolio/artsaccess.png" />
    <p>Arts Access</p>
    </a> </li>
  <li class="wfh-item"> <a href="https://careers.alumdev.columbia.edu/"><img src="http://elizabethyalkut.com/portfolio/mycolumbiacareer.png" />
    <p>My Columbia Career</p>
    </a> </li>
  <li class="personal-item"> <a href="https://ratedrforrapist.herokuapp.com/"><img src="http://elizabethyalkut.com/portfolio/ratedr.png" />
    <p>Rated R for Rapist</p>
    </a> </li>
  <li class="personal-item"> <a href="http://carolynyalkut.com/"><img src="http://elizabethyalkut.com/portfolio/carolyn.png" />
    <p>Carolyn Yalkut</p>
    </a> </li>
  <li class="personal-item"> <a href="https://irregulargentlewomen.github.io/feminist-bingo/"><img src="http://elizabethyalkut.com/portfolio/bingo.png" />
    <p>Interactive Feminist Bingo</p>
    </a> </li>
  <li class="wfh-item"> <a href="http://www.macfound.org"><img src="http://elizabethyalkut.com/portfolio/macarthur.png" />
    <p>MacArthur Foundation</p>
    </a> </li>
</ul>
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  background-image: url("https://alumni.columbia.edu/sites/dev.alumni.columbia.edu/files/images/debut_light.png");
  margin: auto;
  width: 90%;
  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: 10px;
  li {
    list-style-type: none;
    /* for flexbox */
    margin-left: 5px;
    margin-right: 5px;
    flex: 1 1 30%;
    /* grid! */
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    grid-auto-rows: minmax(auto, auto);
    width: 30%;
    height: auto;
  }
}
p {
  font-size: 1.6em;
  line-height: 1.3;
  a {
    color: #096;
    text-decoration: none;
    border-bottom: solid 1px transparent;
  }
  &:hover {
    border-bottom-color: #096;
  }
}
label {
  cursor: pointer;
  background: #323131;
  color: #fff;
  padding: 5px 10px;
  font-size: 1.6em;
  &:hover {
    color: #096;
  }
}
input {
  display: none;
}
img {
  padding: 5px;
  border: 1px solid #ccc;
  max-width: 100%;
}
/*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;
}

li {
  position: relative;
}
li 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: 97%;
}
li:hover img {
  border-color: #999;
}
li:hover p {
  display: block;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console