cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <nav>
  <div class="container">
    <div class="brand"><a href="index.html">Space X</a></div>
    <ul class="primary">
      <li><a href="index.html" title="#">Home</a></li>
      <li><a href="history.html" title="#">History</a></li>
      <li><a href="faq.html" title="#">FAQ</a></li>
    </ul>
  </div>
</nav>

<div id="header">
  <div class="container">
    <h1>SPACEX Dragon</h1>
    <!--(Document Title)-->
    <!--(Primary Content Heading)-->
  </div>
</div>
<!--#header-->
<div class="container">
  <div id="content">

    <h2>Dragon Vehicle Overview:</h2>

    <p>Dragon is a free-flying spacecraft designed to deliver both cargo and people to orbiting destinations. Dragon made history in 2012 when it became the first commercial spacecraft in history to deliver cargo to the International Space Station and safely
      return cargo to Earth, a feat previously achieved only by governments. It is the only spacecraft currently flying that is capable of returning significant amounts of cargo to Earth. Currently Dragon carries cargo to space, but it was designed from
      the beginning to carry humans. Under an agreement with NASA, SpaceX is now developing the refinements that will enable Dragon to fly crew. Dragon's first manned test flight is expected to take place as early as 2018.</p>

    <section id="config">
      <h2>Configurations:</h2>
      <div class="articles">
        <article>
          <img src="http://via.placeholder.com/350x150" alt="Alt Text"/>
          <h3>Cargo - Resupply the Space Station</h3>
          <ul>
            <li>DELIVERY AND RETURN SERVICES - Dragon is the first commercial spacecraft to deliver cargo to the International Space Station and currently the only cargo spacecraft flying capable of returning significant amounts of cargo to Earth. Dragon
              accommodates pressurized cargo in the capsule as well as unpressurized cargo in its trunk.
              <li>VERSATILE CARGO RACKS - The racks are a honeycomb carbon-aluminum construction designed for efficient packing in a zero-gravity environment. They accommodate a variety of standard-size NASA cargo bags as well as freezers for carrying materials
                such as biological samples.</li>
          </ul>
        </article>

        <article>
          <img src="http://via.placeholder.com/350x150" alt="Alt Text"/>
          <h3>Crew - Taking Humans into Space</h3>
          <ul>
            <li>PARTNERSHIP WITH NASA - Dragon was designed from the outset to fly humans to space. Under an agreement with NASA, SpaceX is making upgrades to Dragon to allow for crew carrying capability.</li>
            <li>CREW UPGRADES - Dragon will be the world’s safest and most reliable crew transport vehicle, with seating for seven, life-support systems, controls with manual capability, and a powered launch escape system.
              <li>FIRST LAUNCH - Upgrades to Dragon are currently in progress. Dragon’s first manned test flight is expected to take place as early as 2018.</li>
          </ul>
        </article>
        <article>
          <img src="http://via.placeholder.com/350x150" alt="Alt Text"/>
          <h3>Dragon Lab - A FREE-FLYING MICROGRAVITY LABORATORY</h3>
          <ul>
            <li>FACILITATING RESEARCH - DragonLab is a free-flying, unmanned platform designed for research and testing in a microgravity environment independent of the International Space Station.</li>
            <li>LONGEVITY - It can transport payloads, experiments,instruments, and sensors into space and back to Earth on missions ranging from one week to two years. </li><li>CAPABILITIES - DragonLab can readily accommodate instrument and sensor testing, space
              physics and relativity experiments, radiation effects research, and many other microgravity tests.</li>
          </ul>
        </article>
      </div>
    </section>

  </div>
</div>
<!--#content-->
<div id="footer">
  <div class="container">
    <h6>&copy;2017 | <a href="#">Contact Me</a> |<a href="#top">Back to Top</a></h6>
  </div>
</div>

<!--#footer-->
</div>
<!--#container-->
            
          
!
            
              * {
  box-sizing: border-box;
  margin: 0;
  padding: 0px;
}

body {
  font-family: 'Lato', sans-serif;
  font-size:110%;
}

.container {
  width: 980px;
  margin: 0 auto;
}

img{max-width:100%;}
.brand {
  float: left;
}
nav {
  background: #fff;
  padding: 10px;
}

nav .brand a {
  display: block;
  width: 250px;
  height: 31px;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/7248/logo-dragon.png");
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

nav ul {
  list-style-type: none;
  width: 200px;
  margin: 0 0 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

nav li {
  border-radius: 5px;
  padding: 10px;
}

nav .primary a {
  color: white;
  text-decoration: none;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
}
nav .primary a:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
}

#header {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/7248/dragon-in-space.jpg")
    no-repeat;
  background-size: cover;
  background-position: center center;
  height: 25hvpx;
}

#header h1 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 25vh;
  color: white;
  letter-spacing: 2px;
  font-size: 3em;
  text-shadow: 2px 2px #000;
}

#content {
  min-height: calc(75vh - 70px); /*sticky footer*/
  padding: 40px 0;
}

#content p {
  margin: 12px 0 18px 0;
}

#content h2, #content h3, #content h4 {
  color: #00518A;
  margin:1.5em 0;
}

.articles {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#config article {
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  padding: 12px;
}

article ul{
  margin:0 20px;
}
article li{
  margin-bottom:20px;
}

#footer {
  height: 50px;
  background: black;
  color: white;
  line-height:50px;
  text-align: center;
}

#footer a {color:white;}
            
          
!
999px
Loading ..................

Console

Open Chat