Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <body>
  <header>
    <h1> Module 3 Project: an online resume  </h1>
  </header>
  
<div class="flex-container">
  
  <div id="left">
    <img src="https://moiglobal.com/wp-content/uploads/warren-buffett-dbw2-1024x1024.jpg" alt="avatar of a man">
      <h2 id="name"> Jakub <br> Kessler </h2>
      <h3 id="jobTitle"> Marketing Manager </h3>
        <hr id="mainHR">
   
      <div>
        <h3> Contact </h3>
        <h4> Address </h4>
          <p> Street 1/1,<br>61-111 Poznań,<br> Poland </p>
        <h4> Email </h4>
         <p>jakub@email.com</p>
        <h4> Phone </h4>
         <p>+48 666 999 666</p>
      </div>
      <h3> Profile </h3>
      <p id="justified"> I don't assume anybody is here to read about my profile. After all it's a CSS course. So instead of thinking about what should I write here - I researched a bit on w3school trying to make the result of the excercise a bit more spiffy.
      </p>
    
    </div>
  
  <div id="right">
    <h3>Experience</h3>
    <hr>
        <h4>Marketing Communication Manager</h4>
       <h5>Volkswagen Group Poland, 2018 - ongoing </h5>
    
       <h4>Key Account Manager</h4>
       <h5>Beiersdorf Poland, 2017 - 2018 </h5>
    
       <h4>Brand Manager</h4>
       <h5>Beiersdorf Germany, 2014 - 2017 </h5>
    
    <h3>Education</h3>
    <hr>
       <h4>Poznan University of Economics</h4>
       <h5>Masters Degree in International Business, 2005 - 2009 </h5>
      
    
    <h3>Skills</h3>
    <hr>
    <ul>
      <li>CSS (soon)</li>
      <li>HTML (soon)</li>
      <li>JavaScript (soon)</li>
      <li>PHP (soon)</li>
      <li>SQL (soon)</li>
    </ul>
    <h3 class="funky">My Favourites</h3>
    <hr>
    <ul class="funky">
      <li>Learning new stuff</li>
      <li>Reading</li>
      <li>BJJ</li>
      <li>Sailing</li>
      <li>Skiing</li>
    </ul>
  </div>
</div>
  
 <footer>
   Get in touch with me here: <a href="https://www.instagram.com"> Instagram,</a>  <a href="https://www.youtube.com"> Youtube,</a> or <a href="https://www.facebook.com">Facebook</a>
 </footer>
    
  
</body>
              
            
!

CSS

              
                body {
padding: 0 10% 4% 10%;
font-family: Rubik, Arial, sans-serif;}
a:link {font-weight: bold;}
a:visited {color: hsl(75,100%,40%);}

/* STYLES ALL HEADERS */
 /*h1 is the tag seen as 'header' of the document; sits above both columns */
 h1 {
   background: black;
   color: white;
   margin-bottom: 0px;
   padding: 6px 18px;
   font-size: 1em;}
 h3 {
   font-size: 1.6em;
   margin-top: 0; margin-bottom: 10px;
   font-family: Spectral, "Arial Black", sans-serif;}
 h4 {
   margin-top: 10px; margin-bottom: 10px;
   font-size: 1em;}
 h5 {
   font-style: italic;
   font-weight: 400;
   font-size:0.9em;
   margin-top:5px;
}
  
 /*adjusts the h2 of the name, which is located under the picture */
 #name {
   font-size: 2.8em; font-weight: 900;
   margin-top: 15px; margin-bottom:15px;
   line-height: 100%;
   font-family: Spectral, "Arial Black", sans-serif;
   }
 /*adjusts the h3 dedicated to the Job Title only - located under the name */
 #jobTitle {
   font-size: 1em; font-weight: 400;
   font-family: Rubik;}
/* END OF STYLING FOR HEADERS */

/*CREATES A CONTAINER FOR THE TWO COLUMNS */
.flex-container {
  display: flex;}

/* STYLING FOR THE LEFT COLUMN */
 /*sets the properties of the left column */
 #left {
  width: 30%;
  box-sizing: border-box;
  background: hsl(0,0%, 90%);
  text-align: center;}

 /*box with Contact details in the left column*/ 
 div div div {
  position: relative;
  border: 2px hsl(0, 0%, 0%) solid;
  box-sizing: border-box;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 55px;
  margin-bottom: 30px;
  min-height: 250px;
  padding-bottom: 4%;
  z-index: 0;}

 /*header which overlaps the border; includes Contact details */  
 div div div h3 {
  position: absolute;
  top: -8%;
  right: 20%;
  left: 20%;
  z-index: 1;
  text-align: center;
  background: hsl(0,0%, 90%);} 

div div div h4 {
  margin-top: 10%;}
div div div p {
  margin-top: 2%;
  font-size: 1em;}

/*sets the properties of the right column */
#right {
  width: 70%;
  box-sizing: border-box;
  padding: 50px 5%;
  margin: 0;
}

/*styling for the image */
img {
  width: 33%;
  display: block;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border: 2px black solid;
  }

/* end of styling for the images */

/*styling for <hr> - horizontal lines  */
/*basic lines, all sections, both columns */
hr {
  display:block;
  background-color: black;
  text-align:center;
}
/* short line under the 'marketing manager' in the left column */
#mainHR {
  width: 25%;
  border: 2px solid black;
  margin-top: 20px;
}
#justified {text-align:justify; margin-left: 20%; margin-right: 20%; margin-bottom: 50px;}
.funky {
  transition: color 1s, font-size 2s;
}
.funky:hover {
  color: blue;
  font-size: 1.2em;
}
              
            
!

JS

              
                
              
            
!
999px

Console