123

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

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

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.

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.

            
              <!-- Built by Rachel Reveley https://rachelreveley.co.uk -->
	<div>
		<h1>Rachel Reveley</h1>
		<h2>Web & UX Design</h2>
	</div>
	<div>
		<article>
			<h2>Design</h2>
			<div>
				<h3>Web design</h3>
				<p>I am a Bristol based designer with extensive experience in ecommerce website design and have worked for a number of major UK brands.</p>
       <div class="gallery">
          <div class="inner">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
        </div>
			</div>
		</article>
		<article>
			<h2>UX design</h2>
			<div>
				<h3>UX design</h3>
				<p>My interest in UX is driven both by a curiosity about why people do certain things and through the satisfaction of knowing that what I have built is successful and not merely pretty.</p>
       <div class="gallery">
          <div class="inner">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
        </div>
			</div>
		</article>
		<article>
			<h2>Front-end</h2>
			<div>
				<h3>Front-end development</h3>
				<p>Having good front-end coding skills is highly beneficial for a website designer and I have worked with HTML, CSS, SCSS and Less for many years. I have been responsible for major front-end overhauls and refactors as well as the production of a large responsive ecommerce site.</p>
       <div class="gallery">
          <div class="inner">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
        </div>
			</div>
		</article>
		<article>
			<h2>Out of hours</h2>
			<div>
				<h3>Out of hours</h3>
				<p>In my spare time I work with clay, creating organic sculptural pieces.</p>
       <div class="gallery">
          <div class="inner">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
        </div>
			</div>
		</article>
		<article>
			<h2>Links</h2>
			<div class="col-6">
				<h3>Me</h3>
				<ul>
          <li><a href="https://www.linkedin.com/in/reveley">LinkedIn</a></li>
          <li><a href="https://codepen.io/rachelreveley/">CodePen</a></li>
          <li><a href="https://github.com/rachelreveley">Github <small>(mostly private repos)</small></a></li>
          <li><a href="https://www.rachelreveley.co.uk/RachelReveleyCV.pdf">CV <small>(PDF)</small></a></li>
        </ul>
      </div>
			<div class="col-6">
				<h3>Feeds I read</h3>
				<ul>
          <li><a href="http://www.90percentofeverything.com/">90 Percent of Everything</a></li>
          <li><a href="http://www.adaptivepath.com/">Adaptive Path</a></li>
          <li><a href="https://alistapart.com/">A List Apart</a></li>
          <li><a href="https://boagworld.com/">Boag World</a></li>
          <li><a href="http://boxesandarrows.com/">Boxes and Arrows</a></li>
          <li><a href="https://css-tricks.com/">CSS trciks</a></li>
          <li><a href="https://designmodo.com/">Design Modo</a></li>
          <li><a href="http://littlebigdetails.com/">Little Big Details</a></li>
          <li><a href="https://simplyaccessible.com/">Simply Accessible</a></li>
          <li><a href="https://www.smashingmagazine.com/">Smashing Magazine</a></li>
          <li><a href="https://www.uie.com/brainsparks/">UIE Brainsparks</a></li>
          <li><a href="https://usabilla.com/">Usabilia</a></li>
          <li><a href="http://usabilitygeek.com/">Usability Geek</a></li>
          <li><a href="http://uxmastery.com/">UX Mastery</a></li>
          <li><a href="http://www.uxbooth.com/">UX Booth</a></li>
          <li><a href="http://uxmag.com/">UX Mag</a></li>
          <li><a href="http://www.uxmatters.com/">UX Matters</a></li>
          <li><a href="https://www.webdesignerdepot.com/">Web Designer Depot</a></li>
          <li><a href="http://webdesignerwall.com/">Web Designer Wall</a></li>
          <li><a href="http://www.zeldman.com/">Zeldman</a></li>
        </ul>
			</div>
		</article>
	</div>

            
          
!
            
                  body {background: #801638;}
		body,
		body > * {margin: 0; padding: 0; font-family: 'Roboto', sans-serif; font-weight: normal;}
		* { transition: all .3s ease 0s;}
/* Colours */
    ::selection {background: #000 !important; color: #fff !important;}
    ::-moz-selection {background: #000 !important; color: #fff !important;}
   body > div + div {background: #801638;
        article:nth-child(1) {background: #c22326;}
        article:nth-child(2) {background: #f37338;}
        article:nth-child(3) {background: #fdb632;}
        article:nth-child(4) {background: #027878;}
        article:nth-child(5) {background: #801638;}
    }
/* Main layout */
		html,
		body,
		body > div + div {width: 100vw; height: 100vh;}
		body > div + div {list-style: none; position: relative; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; overflow: hidden;}
/* Articles */
		 body > div + div article {flex: initial; width: 20%;height: 100%; text-align: center; color: #fff; text-decoration: none; vertical-align: bottom; box-sizing: border-box; padding: 2vh 1vw; position: relative;}
/* Big Headings */
		body > div:first-child {position: fixed; bottom: 8vh; background: #fff; width: 100%; text-align: center; padding: .5rem; z-index: 2;
        h1,
        h2 {margin: 0; padding: 0;}
    }
/* Hover interaction */
		body > div + div:hover article {flex: initial; width: 10%;}
		body > div + div article:hover {width: 70%;}
		article > div {opacity: 0; transition: opacity .2s ease 0;}
		article:hover > div {opacity: 1; transition: opacity .3s ease .3s;}
/* navigation */
		body > div + div {
        article > h2 {bottom: 2.2vh; left: 0; position: absolute; text-align: center; width: 100%; margin: 0; font-size: 3vh;}
		    &:hover article > h2 {bottom: 2.8vh; font-size: 2vh;}
		    article:hover > h2 {bottom: 2.2vh; font-size: 3vh;}
    }
/* Article layouts */
		article > div {text-align: left; width: 58vw;
        p,
        h2,
        h3 {margin: 0 0 1em 0; width: 30vw;}
		    p {width: 30vw;}
    }
		h1, h2, h3, h4, h5, h6 {text-transform: uppercase; text-transform: uppercase;}
    a {color: #fff; text-decoration: none;
      &:after {content:" >";}
      &:hover {text-decoration: underline;}
    }
    ul {margin: 0; padding: 0; list-style: none;}
    .col-6 {width: 50%; float: left;}
/* Mobile */
@media (max-width: 900px) {
    body > div + div article {padding: 2vh 3vw;
        > h2 {transform: rotate(90deg); bottom: 23vh; min-width: 12em; text-align: left; transform: rotate(-90deg); transform-origin: 0 0 0; opacity: 1;}
       &:hover > h2 {opacity: 0;}
    }
	  article div {max-height: calc(100% - 28vh); overflow-y: auto;
        article div  p {width: 50vw;}
    }
}
  .gallery {width: 100%; height: 0; padding-top: 40%; box-sizing: border-box; position: relative;
    .inner {display: grid; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr; grid-column-gap: 20px;
        grid-row-gap: 22px;
        grid-template-areas: 
          "photo-1 photo-1 photo-2 photo-3 photo-3 photo-4"
          "photo-5 photo-5 photo-2 photo-3 photo-3 photo-4"
          "photo-5 photo-5 photo-2 photo-7 photo-8 photo-4"
          "photo-6 photo-6 photo-6 photo-7 photo-8 photo-9"
          "photo-6 photo-6 photo-6 photo-7 photo-8 photo-9";
        div {background-color: #000; background-size: cover; background-position: center;}
        div:nth-child(1) {grid-area: photo-1;}
        div:nth-child(2) {grid-area: photo-2;}
        div:nth-child(3) {grid-area: photo-3;}
        div:nth-child(4) {grid-area: photo-4;}
        div:nth-child(5) {grid-area: photo-5;}
        div:nth-child(6) {grid-area: photo-6;}
        div:nth-child(7) {grid-area: photo-7;}
        div:nth-child(8) {grid-area: photo-8;}
        div:nth-child(9) {grid-area: photo-9;}
      }
    }
     body > div + div {
       article:nth-child(1) {/* Design */
         .gallery .inner {
           div:nth-child(1) {background-image: url("");}
           div:nth-child(2) {background-image: url("");}
           div:nth-child(3) {background-image: url("https://rachelreveley.co.uk/projects/figleaves_1.jpg");}
           div:nth-child(4) {background-image: url("");}
           div:nth-child(5) {background-image: url("");}
           div:nth-child(6) {background-image: url("https://rachelreveley.co.uk/projects/col_1.jpg");}
           div:nth-child(7) {background-image: url("");}
           div:nth-child(8) {background-image: url("");}
           div:nth-child(9) {background-image: url("");}
         }
       }
       article:nth-child(2) {/* UX */
         .gallery .inner {
           div:nth-child(1) {background-image: url("");}
           div:nth-child(2) {background-image: url("");}
           div:nth-child(3) {background-image: url("");}
           div:nth-child(4) {background-image: url("");}
           div:nth-child(5) {background-image: url("");}
           div:nth-child(6) {background-image: url("");}
           div:nth-child(7) {background-image: url("");}
           div:nth-child(8) {background-image: url("");}
           div:nth-child(9) {background-image: url("");}
         }
       }
       article:nth-child(3) {/* FE */
         .gallery .inner {
           div:nth-child(1) {background-image: url("https://rachelreveley.co.uk/projects/lovehoney_1.jpg");}
           div:nth-child(2) {background-image: url("");}
           div:nth-child(3) {background-image: url("https://rachelreveley.co.uk/projects/arcadia_1.jpg");}
           div:nth-child(4) {background-image: url("");}
           div:nth-child(5) {background-image: url("");}
           div:nth-child(6) {background-image: url("");}
           div:nth-child(7) {background-image: url("https://rachelreveley.co.uk/projects/byc_1.jpg");}
           div:nth-child(8) {background-image: url("https://rachelreveley.co.uk/projects/zoomf_1.jpg");}
           div:nth-child(9) {background-image: url("https://rachelreveley.co.uk/projects/localmole_1.jpg");}
         }
       }
       article:nth-child(4) {/* Out of hours */
         .gallery .inner {
           div:nth-child(1) {background-image: url("https://rachelreveley.co.uk/photos/weed-bowl.jpg");}
           div:nth-child(2) {background-image: url("https://rachelreveley.co.uk/photos/IMG_5407.jpg");}
           div:nth-child(3) {background-image: url("https://rachelreveley.co.uk/photos/dragon-egg-bowl.jpg");}
           div:nth-child(4) {background-image: url("https://rachelreveley.co.uk/photos/IMG_1518.JPG");}
           div:nth-child(5) {background-image: url("https://rachelreveley.co.uk/photos/IMG_5403.jpg");}
           div:nth-child(6) {background-image: url("https://rachelreveley.co.uk/photos/IMG_1586.jpg");}
           div:nth-child(7) {background-image: url("https://rachelreveley.co.uk/photos/IMG_5397.jpg");}
           div:nth-child(8) {background-image: url("https://rachelreveley.co.uk/photos/IMG_2392.jpg");}
           div:nth-child(9) {background-image: url("https://rachelreveley.co.uk/photos/IMG_1597.JPG");}
         }
       }
    }



            
          
!
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.

Console