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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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="wrapper">
 <div class="group">
  <div class="proj one">
   <div>
   </div>
   <div class="text">
    <h1>MOBILE DESIGN</h1>
    <p>Creative and responsive</p>
		 
   </div>
  </div>
  <div class="proj two">
   <div>
   </div>
   <div class="text">
    <h1>DATA DRIVEN</h1>
    <p>Dynamic and functional</p>
   </div>

  </div>
  <div class="proj three">
   <div>
   </div>
   <div class="text">
    <h1>SOLUTION BASED</h1>
    <p>Designs that solve</p>
   </div>
  </div>
  <div class="proj four">
   <div>
   </div>
   <div class="text">
    <h1>USER EXPERIENCE</h1>
    <p>Engaging and useful</p>
		 		 <div class="btn">View Projects</div>
   </div>
  </div>
 </div>

</div>
	<main>
		<div class="content">
			<h1>Rachel H. {<span id="word" class="active">Designer</span>}</h1>

			<h2><span><svg style="width:24px;height:24px" viewBox="0 0 24 24">
    <path fill="currentColor" d="M11 9C11 10.66 9.66 12 8 12C6.34 12 5 10.66 5 9C5 7.34 6.34 6 8 6C9.66 6 11 7.34 11 9M14 20H2V18C2 15.79 4.69 14 8 14C11.31 14 14 15.79 14 18M22 12V14H13V12M22 8V10H13V8M22 4V6H13V4Z" />
</svg></span><span class="ani">BACKGROUND</span></h2>
			<p>
			Web and graphic designer with over 12 years of experience working in the defense and research industries. Creating web solutions for internal and external customers. Projects ranging from content development, wireframes, mockups, and web design. Using HTML, CSS, JavaScript, jQuery, SharePoint, WordPress, Dreamweaver, Sharepoint Designer, and InfoPath.
			</p>
			<h2><span><svg style="width:24px;height:24px" viewBox="0 0 24 24">
    <path fill="currentColor" d="M12,3L1,9L12,15L21,10.09V17H23V9M5,13.18V17.18L12,21L19,17.18V13.18L12,17L5,13.18Z" />
				</svg></span><span class="ani">EDUCATION</span></h2>
			<p>Continuously learning by participating in the #100DaysofCode Challenge, and an active member at Team Treehouse</p>
			<p>

				Graduated from Southern New Hampshire University in 2015 with a BA in Graphic design</p>
			<p>

Graduated from Southern New Hampshire University in 2012 with an AS in Computer Information Technology</p>
			<p>

Graduated from University of Massachusetts in 2009 with a Certificate in Web Design and Development</p>
		</div>
	</main>
<footer>
	<div><a href="https://rachelhdesigner.com/">Rachel H. Designer</a></div>
	<div><a href="https://rachelhdesigner.com/projects-2/">Projects</a></div>
	<div><a href="https://rachelhdesigner.com/contact/">Contact</a></div>
</footer>
              
            
!

CSS

              
                body {
 width: 100%;
 height: 100%;
 background-color: rgba(158, 158, 158, 0.23);
 background-image: radial-gradient(
   rgba(158, 158, 158, 0.4) 15%,
   transparent 16%
  ),
  radial-gradient(rgba(158, 158, 158, 0.4) 15%, transparent 16%);
 background-size: 10px 10px;
 background-position: 0 0, 30px 30px;
}
.wrapper {
 display: flex;
 justify-content: center;
 align-items: top;
}
.group {
 display: flex;
 width: 100%;
 flex-direction: row;
}
main h1 {
 padding-top: 20px;
 padding-bottom: 40px;
 color: #333;
 text-shadow: none;
 font-size: 8vmin;
 text-align: center;
 text-transform: uppercase;
}
.proj {
 height: 300px;
 min-width: 25%;
 overflow: hidden;
 cursor: pointer;
}
#word {
 background-color: #efefef;
 padding: 0px 5px 5px 5px;
 opacity: 1;
}

.proj > div:first-child {
 transition: transform 450ms ease-in-out;
}
.proj.one > div:first-child {
 width: 100%;
 height: 100%;
 background-color: black; /* fallback color */
 background-image: url("https://images.unsplash.com/photo-1483478550801-ceba5fe50e8e?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ");
 background-position: center;
 background-size: cover;
}
.proj:hover > div:first-child,
.proj:focus > div:first-child {
 transform: scale(1.5);
}
h1,
h2,
h3,
h4 {
 font-family: "Oswald", sans-serif;
}
.text {
 color: white;
 position: relative;
}
.proj .text h1 {
 position: absolute;
 top: -250px;
 font-size: 25px;
}
.proj .text h1 {
 left: 20px;
}

h1,
p {
 text-shadow: 1px 1px #000;
}
.proj.two .text h1 {
 position: absolute;
 top: -250px;
 font-size: 25px;
 right: 59px;
}
p {
 font-family: arial;
 font-size: 14px;
}
.proj .text p {
 position: absolute;
 top: -220px;
}
.proj .text p {
 left: 20px;
}

.proj.two > div:first-child {
 width: 100%;
 height: 100%;
 background-color: black; /* fallback color */
 background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ");
 background-position: center;
 background-size: cover;
}
.proj.three > div:first-child {
 width: 100%;
 height: 100%;
 background-color: black; /* fallback color */
 background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ");
 background-position: center;
 background-size: cover;
}
.proj.four > div:first-child {
 width: 100%;
 height: 100%;
 background-color: black; /* fallback color */
 background-image: url("https://images.unsplash.com/photo-1508921340878-ba53e1f016ec?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ");
 background-position: center;
 background-size: cover;
}
main p {
 text-shadow: none;
 margin: 10px 25px;
}
main h2 {
 font-size: 20px;
 color: purple;
 padding-bottom: 10px;
 padding-top: 40px;
}

.content {
	overflow:hidden;
 margin: 0px auto;
 width: 70%;
 padding: 20px 30px;
 background-color: rgba(255, 255, 255, 1);
 font-family: arial;
 line-height: 20px;
}
h2 {
 position: relative;
}
h2 > span:first-child {
 background-color: purple;
 z-index: 5;
 border-radius: 50%;
 position: absolute;
 top: 5px;
 padding: 10px;
}
h2 > span:nth-child(2) {
 top: 18px;
 z-index: 2;
	opacity:1;
		-webkit-animation: ani 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
	        animation: ani 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
	
}
h2:after {
 content: "";
 position: absolute;
 left: 30px;
 top: 9px;
 height: 40px;
 width: 140px;
 z-index: 1;
 background-color: #efefef;
	-webkit-animation: ani 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
	        animation: ani 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
}
h2 > span:first-child > svg > path {
 fill: white;
}
h2 > span:nth-child(2) {
 position: absolute;
 left: 50px;
 top: 20px;
}
footer {font-family:arial;display:flex;justify-content:space-between;
	font-size:15px;color:white; background-color:#222;padding:20px;margin-top:100px;}
footer a:link, footer a:active, footer a:visited {color:white;text-decoration:none;}
@media (max-width: 800px) {
 .text p {
  display: none;
 }
 .group {
  flex-direction: column;
 }
 .proj {
  max-height: 120px;
 }
 .proj .text h1 {
  top: -80px !important;
 }
}

@-webkit-keyframes ani {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes ani {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

              
            
!

JS

              
                (function() {
 "use strict";
	setInterval(function(){ word(); }, 3000);

 function word() {
	 var $wd = $('#word');	
  var words = ["Developer", "Creative", "Designer", "Coder"];
  var itm = words[Math.floor(Math.random() * words.length)];
	 $wd.html(itm); 
 }
})();

              
            
!
999px

Console