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

              
                <div class="wrapper">
  <div class="title">Vertical Timeline</div>
</div>

<h1>Praca</h1>
<div class="container">
  
  <div class="job">
    <h2>Webdeveloper <span>05.2012-07.2014</span></h2>
    <p>IT jobs involving programming essentially want high-tech problem solvers. You'll need to look at how technology can make the organisation more efficient and productive by developing, testing and implementing IT solutions.</p>
  </div>
  
  <div class="job">
    <h2>Software Developer <span>05.2016-07.2018</span></h2>
    <p>Software developers are the brains behind the design, installation, testing and maintenance of software systems. You'll play an important part in making a business more efficient and helping it provide a better service too.</p>
  </div>
  
  <div class="job">
    <h2>Database Administrator <span>05.2016-07.2018</span></h2>
    <p>As a database administrator you'll be in charge of computerised information systems - you could think of yourself as a kind of high tech librarian. </p>
  </div>
  
  <div class="job">
    <h2>IT Administrator <span>05.2016-07.2018</span></h2>
    <p>It is generally recommended that every organisation has one full time IT administrator for every 50 employees and you'll come across job vacancies in all kinds of companies with this job. But what do they actually do?</p>
  </div>
  
</div>
              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

.wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
      display: block;
      font-size: 40px;
      color: white;
      padding: 14px 40px;
      background: black;
  }

h1 {
  margin-top: 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

.container {
  overflow: hidden;
  padding: 20px 10px;
  position: relative;
  margin: 0 auto;
  width: 600px;
}

.container:before {
  content: '';
  width: 8px;
  height: 100%;
  background: #313131;
  position: absolute;
  left: 20px;
}

.job {
  background: white;
  padding: 20px;
  margin: 20px 60px;
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
  position: relative;
  -webkit-box-shadow: -5px 5px 41px -18px rgba(0,0,0,0.75);
-moz-box-shadow: -5px 5px 41px -18px rgba(0,0,0,0.75);
box-shadow: -5px 5px 41px -18px rgba(0,0,0,0.75);
}

.job h2 span {
  font-size: 16px;
  color: #6ab04c;
  border: 2px solid #535c68;
  padding: 4px;
  border-radius: 8px;
}

.job:before {
  content: '';
  width: 20px;
  height: 20px;
  background: white;
  left: -10px;
  top: 50%;
  transform: translatey(-50%) rotate(45deg);
  position: absolute;
  z-index: -1;
  border: 2px solid #000;
}

.job:after {
  content: '';
  width: 32px;
  height: 32px;
  background: #badc58;
  border-radius: 50%;
  border: 4px solid #313131;
  left: -65px;
  top: 50%;
  transform: translatey(-50%) rotate(45deg);
  position: absolute;
}
              
            
!

JS

              
                
              
            
!
999px

Console