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.

+ add another resource

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

            
              <header>
  <h1>ERIMA</h1>
</header>

<nav>
  <ul>
    <li><a>Portfolio</a></li>
    <li><a>Work</a></li>
    <li><a>Blog</a></li>
    <li><a>About Me</a></li>
  </ul>
</nav>
<main>
  <article>
    <h1> Internalized Fashion System</h1>
    <figure class="hero">
      <img src="https://images.unsplash.com/photo-1513622790541-eaa84d356909?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ&s=84f2844e39a6478ba903a8b5172a151e" />
    </figure>
    <p>When, shortly after the millend with feathered head on the bottom that I was working on things and edn it on prehistoric specimens; on four she responded by saying: "Ah, well figures of animals. As we know - it was the 1920's, isn't it? <i>The first animals</i>, for example the frog and the belatedness (in the year 2000) and it pass, and the vessels were placed before internalized fashion system and temple. Here the serpen, as adolescence of things). Still, Benjamin Worship.</p>
    <aside class="aside1">
      
      <p>In the 1920s by conceptualizing, Cleo Jurino, and his son Anacleto's materialist bricolae. This was some coloured crayon drawings for ground cleared by Simmel's earlier cosmos. </p>
    </aside>
        <p>
      The father, Cleo, was one of things and modernity's hum. The drawing (PL.44b) that the subject desired, and without feathers, but otherwise drawn an objects value. Benjamin recog - has a terraced gable. </p>
    
    <h2>It was the 1920's</h2>
    <p>
Above the objects and desires represented by short strokes, streams those objects, became outmoded. The middle, as master of the cosmic house ties as it was the twenties, because "us" is the fetish, yaya, or yerrik. </p>
  </article>
</main>
<footer>
  <h1>Elsewhere</h1>

  <ul>
    <li><a>LinkedIn</a></li>
    <li><a>@erima</a></li>
    <li><a>Codepen</a></li>
    <li><a>Dribbble</a></li>
  </ul>

</footer>
            
          
!
            
              /* these are styles for codepen */
body {
  font-family: helvetica, sans-serif;
  line-height: 1.5;
  /*    background-color: lime;*/
  padding: 5vw 5vh;
  max-width: 80vw;
  margin: auto;
  background-color: hsl(350, 50%, 95%);
}

img {
  width: 100%;
  height: auto;
}

footer li a,
nav li a {
  background-color: hsla(255, 20%, 20%, .8);
  color: white;
}

header {
  margin: 20px 0;
}

header, nav, footer, h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}

header h1, footer h1 {
  font-size: 2rem;
  padding: 1rem 0;
  display: inline;
  text-decoration: underline;
}

footer h1 {
  font-size: 1rem;
}

article h1, article h2 {
  padding: .5rem .8rem;
}

article > .hero img {
  background-size: cover;
}

article h1 {
    background-color: hsl(20, 100%, 70%);
  font-size: 1.5rem;
  /*display: inline;*/
}

article h2 {
  background-color: hsl(200, 70%, 70%);
  font-size: 1.2rem;
}

article aside {
  background-color: hsla(0, 0%, 0%, .2);
  font-size: 0.7em;
  padding: 2em;
  font-style: italic;
}

nav li,
footer li {
  margin: 2em 0;
}


nav a,
footer a {
  padding: 0.6em;
}

/* 
CSS GRID

these are styles for the topic at hand */

body {
  display: grid;
  grid-template-columns: 3fr 9fr;
  grid-template-rows: repeat(auto, 1fr);
}

main {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
}

header {
  grid-column: 1 / span 2;
}

nav,
footer {
  grid-column: 1 / span 1;
}


article {
  display: grid;
  grid-gap: 1vw;
  grid-template-columns: 1fr 2fr 6fr 4fr 2fr;
  grid-template-rows: 4fr 2fr 2fr repeat(auto, 1fr);
}

article > * {
  grid-column: 2 / end;
}

article h1 {
  grid-column: 1 / span 4;
  grid-row: 2 / span 1;
  z-index: 1;
  align-self: end;
}

article > .hero {
  grid-row: -1 / span 2;
  grid-column: 2 / end;
}

article h2 {
  grid-column: 1/ span 3;
}
article p {
  grid-column: 2 / span 3;
}

article aside {
  grid-column: end / 3;

}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console