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="marmetsdesign-topleft">
    <a href="index.html">
      <img src="images/logo.png" width="400">
    </a>
  </div>
  <div class="navigationbar-background" class="clear">
    <ul>
      <li class="home"><a href="index.html">Homepage</a></li>
      <li class="portfolio"><a href="">Portfolio</a></li>
      <li class="about"><a href="">About</a></li>
      <li class="contact"><a href="">Contact</a></li>
    </ul>
  </div>
  <div class="klavimg">
    <!-- Removed width attribut from image, made container too wide -->
    <img src="images/klaviatuur.png">
  </div>
<!-- Add Wrap Start -->
<div class="wrap">
  <!-- -->
  <div class="category-1 category-box">
    <div class="worldwide-image">
      <img src="images/worldwide.png">
    </div>
    <div class="category-worldwide-text">
      <h3> Worldwide </h3>
      <p>The service we offer has worldwide support. It means we make any artworks,
      any banners or any logos irrespective the country you are from. The prices will
      be the same for the euro currency but may change the for US dollar currency.</p>
    </div>
  </div>
  <div class="category-2 category-box">
    <div class="orders-image">
      <img src="images/easytoorder.png">
    </div>
    <div class="category-orders-text">
      <h3>Easy to order</h3>
      <p>Ordering an artwork is easier than you expect. We made ordering easier,
      so you have to send a mail with the order. That means the mail should consist
      of the info for the artwork (colors, styles etc.) Find out more by clicking
      on the Contact bar on the navigation bar.</p>
    </div>
  </div>
  <div class="category-3 category-box">
    <div class="intime-image">
      <img src="images/intime.png">
    </div>
    <div class="category-intime-text">
      <h3>In-Time</h3>
      <p>Almost every time we finish our orders in time. Sometimes it may take
      longer than promised but our first priority is the quality and staying
      in promised time. Due to the time that goes over, makes offer cost less.<p>
    </div>
    
  </div>
  <!-- End New Wrap -->
</div>
<!-- -->
              
            
!

CSS

              
                /* ------------------------------------------------
 HTML5 Reset
------------------------------------------------ */
html{ box-sizing: border-box;}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,
legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{border:0;font-family:inherit;font-size:100%;
font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align: baseline}:focus{/* remember to define focus styles! */outline:0}body{background:#fff;line-height:1}ol,ul{list-style: none}
table{/* tables still need 'cellspacing="0"' in the markup */border-collapse:separate;border-spacing:0}caption,th,td{font-weight:normal;text-align:left}blockquote:before,blockquote:after,q:before,q:after{content: ""}
blockquote,q{quotes: "" ""}a img{border: 0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display: block}.clear{clear:both}.clearfix:after{content:".";visibility:hidden;display:block;height:0;
clear:both}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main{display:block}strong{font-weight:bold;}em{font-style:italic}del{text-decoration: line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
*, *:after, *:before {box-sizing:border-box;}

/* Go */
body {
    margin: 0;
    padding: 0;
    font-size: 25px;
    font-family: Josefin Sans;
    background-color: #F5EDE3;
}
/* =============== Logopng section =============== */
.marmetsdesign-topleft {
    height: 60px;
    margin-top: 30px;
    margin-bottom: 0;
    margin-left: 100px;
}
/* =============== Navback section =============== */
.navigationbar-background {
    background-color: #333333;
    margin-top: 20px;
  /* Removed margin below, caused the container to leak
    margin-left: 1100px;
  
  Also added the below float to get the navigation on the right
  */
  float:right;
    margin-right: 140px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 50px;
}
/* =============== NavTEXT section =============== */
.navigationbar-background ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: right;
    text-transform: uppercase;
    font-size: 20px;
}
.navigationbar-background li {
    display: inline;
    padding: 15px;
    vertical-align: middle;
}
.navigationbar-background a{
    text-decoration: none;
    color: #00F;
    padding: 8px 8px 8px 8px;
    color: white;
    vertical-align: middle;
}
/* =============== CATEGORY section =============== */

/* Remove margins from left and right as well as display block - Not needed with divs that are block by default */
.category-1{
    border: 1px solid black;     
    margin-top: 20px;
  /* Removed by Mike
    margin-left: 350px;
    margin-right: 1150px;
  */
}
.category-2{
    border: 1px solid black;
    margin-top: 20px;
  /* Removed by Mike
    margin-left: 350px;
    margin-right: 1150px;
  */
}
.category-3{
    border: 1px solid black;
    margin-top: 20px;
  /* Removed by Mike
    margin-left: 350px;
    margin-right: 1150px;
  */
}
/* =============== WORLDWIDE section =============== */
.worldwide-image{
    display: block;
    margin-top: 80px;
    margin-left: 150px;
    margin-right: 145px;
}
.category-worldwide-text h3{
    font-size: 35px;
    font-family: Big John;
    margin-left: 70px;
    margin-right: 70px;
    margin-bottom: 0;
}
.category-worldwide-text p{
    display: block;
    margin-top: 20px;
    text-align: center;
}
/* =============== EASYTOORDER section =============== */
.orders-image{
    display: block;
    margin-top: 80px;
    margin-left: 150px;
  /* Removed margin below, caused the container to leak
    margin-right: 1397px; */
}
.category-orders-text h3{
    font-size: 35px;
    font-family: Big John;
    margin-left: 40px;
    margin-right: 35px;
    margin-bottom: 0;
}
.category-orders-text p{
    
    margin-top: 20px;

    text-align: center;
}
/* =============== INTIME section =============== */
.intime-image{
    display: block;
    margin-top: 80px;
    margin-left: 150px;
  /* Removed margin below, caused the container to leak
    margin-right: 1397px;
  */
}
.category-intime-text h3{
    font-size: 35px;
    font-family: Big John;
    margin-left: 120px;
    margin-right: 125px;
    margin-bottom: 0;
}
.category-intime-text p{
    display: block;
    margin-top: 20px;
    text-align: center;
}

/* New Wrap styles */

.wrap {
display:flex;
}
.category-box {
  flex:1;
  padding:10px;
  margin:5px;
}

/* Clear .klavimg otherwise new float on nav wont clear it automatically */

.klavimg {
  clear:both;
}
              
            
!

JS

              
                
              
            
!
999px

Console