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=',700,400italic,700italic' rel='stylesheet' type='text/css'>
<section class="hero-image">
  <div class="headline-container">
    <div class="headline-content">
      <h1>Open jobs at Acme Inc.</h1>
      <h3 class="tagline">We're looking forward to hearing from you!</h3>
  <div class="container" id="jobs-container">
    <div class="jobs-list">

<script type="text/javascript" src=""></script>


                @import "nib"

body {
  font-family: 'Lato', sans-serif;
  background: #efefef;
  color: #454545;
p {
  margin: 0 0 1em 0;
  line-height: 1.4em;
p>a {
  color: #00a0df;
p>a:hover {
  color: #0090c9;
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
section {
  position: relative;
  padding: 30px;
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0 120px 0;
.hero-image {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  background-image: url("");
  height: 500px;
.hero-image:before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: -webkit-linear-gradient(45deg, rgba(26,27,28,0.7), rgba(44,46,47,0.6));
  background-image: -moz-linear-gradient(45deg, rgba(26,27,28,0.7), rgba(44,46,47,0.6));
  background-image: -o-linear-gradient(45deg, rgba(26,27,28,0.7), rgba(44,46,47,0.6));
  background-image: -ms-linear-gradient(45deg, rgba(26,27,28,0.7), rgba(44,46,47,0.6));
  background-image: linear-gradient(45deg, rgba(26,27,28,0.7), rgba(44,46,47,0.6));
.headline-container {
  display: table;
  width: 100%;
  height: 100%;
  text-align: center;
.headline-content {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  z-index: 10;
.job {
  display: block;
  margin: 20px 10px;
  padding: 30px;
  border: 1px solid #ebebeb;
  text-decoration: none;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
  cursor: pointer;
.job:hover {
  background: #fff;
h1 {
  font-size: 64px;
  color: #fff;
  padding: 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
h2 {
  margin: 0;
.tagline {
  color: rgba(255,255,255,0.7);
  font-size: 24px;
.job-title {
  font-size: 24px;
  text-decoration: none;
  color: #454545;
.tags span {
  color: #999;
  font-size: 12px;
  color: grayMediumDark;
.tags span:after {
  content: ', ';
.tags span:last-of-type:after {
  content: '';
.description {
  color: #999;
.btn {
  display: inline-block;
  padding: 7px 15px;
  text-decoration: none;
  font-weight: normal;
  color: #999;
  border: 2px solid #ebebeb;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background: #f9f9f9;
.btn:hover {
  background: #ebebeb;
  color: #555;


                // Replace "leverdemo" with your own company name
url = ''

//Checking for potential Lever source or origin parameters
var pageUrl = window.location.href;
var leverParameter = '';
var trackingPrefix = '?lever-'

if( pageUrl.indexOf(trackingPrefix) >= 0){
  // Found Lever parameter
  var pageUrlSplit = pageUrl.split(trackingPrefix);
  leverParameter = '?lever-'+pageUrlSplit[1];

function createJobs(_data) {
  for(i = 0; i < _data.length; i++) {
    var posting = _data[i] ;
    var title = posting.text;
    var description = posting.description;
    //Making each job description shorter than 250 characters
    var shortDescription = $.trim(description).substring(0, 250)
    .replace('\n', ' ') + "...";
    var location = posting.categories.location;
    var commitment = posting.categories.commitment;
    var team =;
    var link = posting.hostedUrl+leverParameter;

    $('#jobs-container .jobs-list').append(
      '<div data-link="'+link+'" class="job '+team+' '+location+' '+commitment+'">' +
        '<h2 class="job-title" href="'+link+'"">'+title+'</h2>' +
        '<p class="tags"><span>'+team+'</span><span>'+location+'</span><span>'+commitment+'</span></p>' +
        '<p class="description">'+shortDescription+'</p>' +

//Fetching job postings from Lever's postings API
  dataType: "json",
  url: url,
  success: function(data){

//Making each job description a link
$("#jobs-container").on("click", ".job", function() {
    var link = $(this).data("link");
    window.location.href = link;