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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              

  <header>
    <img class="logo" src="Preservex-GTAV-Logo.png" alt="pink PreserveX logo">
    <nav>
      <ul class="nav_items">

        <li><a href="#">How it works</a></li>

        <li><a href="#">Testimonials</a></li>

      </ul>
    </nav>
  </header>
  <div class="intro_container">



    <div class="peach_bg">

  
      <img class="image1" src="https://5.imimg.com/data5/VN/YP/MY-33296037/orange-600x600-500x500.jpg"
        alt="face of preservex">
      <h2>The timeless beauty of natural formaldehyde.</h2>
      <h2>Do you ever look in the mirror and wish you could stay young forever?</h2>
      <h2>With PreserveX, you can.</h2>



    </div><!-- PEACH BG CLOSE-->
  </div>


  <div id="container">
    <img class="mini_logo" src="preservex_mini_logo.png" alt="mini preservex logo">
    <div class="container2">


      <p>
        Injecting yourself with botulism or sewing your forehead to the back of your skull is not the answer. We're historians and scientists, not barbarians. The secret is formaldehyde. Remember that fetal pig from science class? How soft and
        unblemished its skin was? How it floated in that jar on the shelf, forever frozen in the perfection of youth, until you hacked it apart in 7th Grade? That could be you. Formaldehyde is all around us. It occurs naturally in our bodies, the air
        we breathe, diet sodas and cigarettes. It's nature's preservative.
      </p>

      <p>
        Why wait until post mortem to look good? Preservex brings the wisdom of the funeral parlor to the beauty parlor. Most beauty products only work skin deep, but Preservex works tissue deep. It doesn't just slow down the aging process. It stops
        cell growth dead in its tracks.
      </p>
      <p>

      </p>
    </div>
  </div>
            
          
!

CSS

            
              * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #F2F2F2;
}

a {
  text-decoration: none;
}

#container {
  margin: 0 335px;
  padding: 20px;
}

.container2 {
  width: 60%;
}

p {
  font-family: 'Karla', sans-serif;
  line-height: 34px;
  font-weight: 500px;
  font-size: 20px;
  letter-spacing: normal;
  text-align: left;
  color: #845DAD;
  margin-bottom: 35px;
  padding: 2px;
}

header {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 70px;
}

header {
  background-color: #F2F2F2;
}

.nav_items,
li, ul {
  display: inline-block;
  padding: 0 25px;
  text-transform: uppercase;
  margin-right: 150px;
  color: #845DAD;
}

.logo {
  margin-left: 400px;
}

.nav_items,
li,
a:hover {
  color: #E68DB6;
}

.nav_items,
li,
a:visited {
  text-decoration: none;
}

.intro_container {
  display: flex;
  background-color: #F3E4DC;
  align-items: center;
  justify-content: center;
}

.image1 {
  max-width: 100%;
}

.peach_bg {
  flex-basis: 40%;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #EE559B;
  margin-block-start: 0.93em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

ul,
li {
  font-family: 'Karla';
  list-style-type: none;
}

.mini_logo {
  display: flex;
  padding: 25px;
}
            
          
!

JS

            
              
            
          
!
999px

Console