HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs 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 its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
.contOut.clearfix
.contIn
.section.top.clearfix
.logoCont
img.logo(src='http://gravatar.com/avatar/51efa933e7e70c09b613ff806e36cd85?s=512')
h1 Jeremy Hawes
.moreInfo
p
| 1060 Arcade Boulevard
br
| Sacramento, CA 95815
br
| hawes.jeremy@gmail.com
br
| (916) 216.7788
br
a(href='http://onelittledesigner.com', target='_blank') RapidWeaver Themes & Stacks
p.tagline
| Front-end Developer
br
| Project Manager
br
span Web & Software
.divider
.contOut.clearfix
.contIn
.section.middle.clearfix
.job
h2
| Capitol Tech Solutions
i.fa.fa-minus.openBtn.open
span Sept 2015 - present
p
strong Position:
| Project Manager
br
strong Description:
| I manage the entire process of website design and development for projects varying in scope.
br
span.brag
| I manage a team consisting of 12 employees and 6-10 highly skilled contractors. We develop website's for our own internal CMS including Shopify and WordPress.
.divider
.contOut.clearfix
.contIn
.section.middle.clearfix
.job
h2
| One Little Designer (1LD)
i.fa.fa-plus.openBtn
span 2010 - present
p
strong Position:
| Project Manager & Front-end Developer
br
strong Description:
| Website & Software development, design, UI and project management
br
span.brag
| I am one of the top developers in the RapidWeaver market where I have over 70 top selling addons and my latest work is featured as a built-in theme in their latest version (6).
.divider
.contOut.clearfix
.contIn
.section.middle.clearfix
.job
h2
| Shoulder to Shoulder
i.fa.fa-plus.openBtn
span 2007 - 2010
p
strong Position:
| System Administrator
br
strong Description:
| Maintain internal database, administration, project management, team building
br
span.brag
| During college I was a full-time volunteer here where our aim was to help "Prepare urban fatherless young men for life" and I helped in building the company from the ground up.
.divider
.contOut.clearfix
.contIn
.section.middle.clearfix
.job
h2
| United States Army
i.fa.fa-plus.openBtn
span 2000 - 2006
p
strong Position:
| Administration
br
strong Description:
| Logistical database modeling for transportation battalion's convoy movements
br
span.brag
| Developed a tracking database for logistical transportation convoy movements - used for creating accurate predictive re-deployment supply dates.
.divider
.contOut.clearfix.half
.contIn
.section.middle.clearfix
.skills.code.odd
h3
| Code & Software
i.fa.fa-code
ul
li.prim JavaScript
li jQuery
li jQuery UI
li Angular
li AJAX
li.prim CSS
li CSS3
li Sass
li Scss
li Compass
li.light Bourbon
li.prim HTML
li HMTL5
li xhtml
li Jade
li.light Haml
li.light SVG
li.prim Database
li.light Ruby
li Ruby on Rails
li ASP
li PHP
li.light PostgreSQL
li.light MySQL
li.prim Platforms
li RapidWeaver
li Wix
li WordPress
li Ghost
li.light Tumblr
li.light Joomla
li.prim API
li Google Maps
li Google Places
li Facebook
li Pinterest
li Instagram
li.light PayPal
li.prim Frameworks
li Bootstrap
li Foundation
li Pure
li.prim Editors
li Aptana
li Brackets
li Sublime Text
li Codepen
li jsFiddle
li Plist Editor Pro
li.prim Environments
li Git
li BitBucket
li GitHub
li WAMP/MAMP
li.prim Graphics
li Photoshop
li Illustrator
li.light After Effects
.skills.software
h3
| Practices & Tools
i.fa.fa-laptop
ul
li.prim Markup
li Semantic/intuitive
li Unintrusive
li Uniform Indention
li Sparingly Complex
li Browser Compliance
li Validated
li SEO Compliant
li.prim Design
li Responsive
li Single Page Apps
li MVC Frameworks
li UI & UX
li Branding
li A/B Testing
li Pixel Perfect
li Cross-browser
li Touch Friendly
li Retina Ready
li Fast
li.prim Dev Approach
li Plan
li Modular Builds
li Version Control
li Test
li Debug
li.prim Troubleshooting
li StackOverflow
li Chrome Dev Tools
li.prim Project Management
li Asana
li Jira
li Hipchat
li Basecamp
li Slack
li.prim Site Optimization
li Google Analytics
li Webmaster/Console Tools
li Website Insight
li PageSpeed
.divider
.contOut.clearfix
.contIn
.contracts.clearfix
h3 Contract Employers
.contract
h4 Internet Marketing Bar
p.desc
| User Interface (UI) design, custom WP Admin design, custom WP theme design, Dashboard &
a(href="https://codepen.io/jhawes/pen/gbPrbZ", target="_blank") Email Mktg dashboard
| design.
span.date 2014
.contract
h4 Iron Post Media
p.desc
| Custom WP theme changes & custom
a(href="https://codepen.io/jhawes/pen/ujdgK", target="_blank") Google Maps polygon coordinate tool
|used for real estate
a(href="https://codepen.io/jhawes/pen/wBACp", target="_blank") drill-down navigation
| design.
span.date 2014
.contract
h4 California Crane School
p.desc
| Various custom PHP & WP projects:
a(href="http://californiacraneschool.com", target="_blank") CaliforniaCraneSchool.com
|,
a(href="http://craneaccidents.com", target="_blank") CraneAccidents.com
|,
a(href="http://cranehunter.com", target="_blank") CraneHunter.org
|, and more to come.
span.date 2011 - 2014
.contract
h4 SMUD
p.desc
| Additions & changes to various DOM elements & stylesheets within company portal.
span.date 2010
.contOut.clearfix.half
.contIn
.section.middle.clearfix
ul.buttons
li
a(href='http://onelittledesigner.com', target='_blank') 1LittleDesigner.com
li
a(href='http://rapidweaverebook.com', target='_blank') RapidWeaverEbook.com
li
a(href='http://pure4rw.com', target='_blank') Pure4RW.com
li
a(href='http://hashtaghawes.com', target='_blank') HashtagHawes.com
li
a(href='http://papertemple.net', target='_blank') PaperTemple.net
li
a(href='http://coffeetablestudios.com', target='_blank') CoffeeTableStudios.com
.divider
ul.sm
li
a(href='https://codepen.io/jhawes/')
i.fa.fa-codepen
li
a(href='https://twitter.com/jeremyhawes')
i.fa.fa-twitter
li
a(href='https://www.facebook.com/1LittleDesigner')
i.fa.fa-facebook
li
a(href='https://plus.google.com/+JeremyHawes/posts')
i.fa.fa-google-plus
li
a(href='https://www.flickr.com/photos/artbyhawes/')
i.fa.fa-flickr
li
a(href='http://instagram.com/haweshead/')
i.fa.fa-instagram
li
a(href='https://www.linkedin.com/in/jeremyhawes')
i.fa.fa-linkedin
@import compass
// clearfix
.clearfix
display: inline-block
&:after
visibility: hidden
display: block
font-size: 0
content: " "
clear: both
height: 0
* html .clearfix
height: 1%
.clearfix
display: block
$resumeBg: #fff
$myBlue: #0198E1
$myGreen: #608341
$myOrange: #FF6103
$myPink: #B5509C
$myGray: #444
$myBrown: #8B4513
$gradStart: #222
$gradEnd: #444
body
padding: 30px 20px 20px 20px
font-family: 'Montserrat', sans-serif
background-image: -webkit-gradient(linear,left top,right bottom,color-stop(0, $gradStart),color-stop(0.61, #EDEDED))
background-image: -o-linear-gradient(right bottom, $gradStart 0%, $gradEnd 61%)
background-image: -moz-linear-gradient(right bottom, $gradStart 0%, $gradEnd 61%)
background-image: -webkit-linear-gradient(right bottom, $gradStart 0%, $gradEnd 61%)
background-image: -ms-linear-gradient(right bottom, $gradStart 0%, $gradEnd 61%)
background-image: linear-gradient(to right bottom, $gradStart 0%, $gradEnd 61%)
a
text-decoration: none
color: $myBlue
.divider
width: 100%
float: left
&:after
position: absolute
width: 100%
margin-top: 0px
bottom: -11px
left: -3px
background: darken($resumeBg, 65%)
content: ""
display: block
+transform(skew(-31deg,0deg))
height: 11px
.contOut
opacity: 0
width: 100%
max-width: 1080px
margin: 0 auto
background: $resumeBg
position: relative
overflow: visible
margin-bottom: 6px
&:before
position: absolute
width: 6px
margin-top: 6px
left: -6px
background: darken($resumeBg, 45%)
content: ""
display: block
+transform(skew(0deg,-61deg))
height: 100%
.contIn
width: 100%
float: left
.section
padding-left: 30px
padding-right: 30px
&.top
padding-top: 30px
padding-bottom: 15px
&:hover img
+filter(grayscale(0%))
.logoCont
float: left
width: 15%
.logo
width: 100%
max-width: 100px
min-width: 50px
height: auto
min-height: 50px
+filter(grayscale(100%))
+border-radius(2px)
border: solid 1px darken($resumeBg, 20%)
h1
width: 45%
float: left
display: inline-block
font-family: 'Playfair Display', serif
margin: -6px 0 0 0
font-size: 40px
line-height: 40px
p.tagline
float: left
width: 45%
font-size: 14px
span
color: darken($resumeBg, 40%)
.moreInfo
float: right
width: 40%
text-align: right
p
margin: 0
line-height: 20px
word-wrap: break-word
.middle
padding-top: 20px
padding-bottom: 20px
h2
border-left: solid 0 $resumeBg
+transition(all 200ms ease-in)
i.fa
display: inline-block
margin-left: 10px
&:hover
cursor: pointer
color: darken($myBlue, 10%)
&:hover h2
border-left: solid 10px invert($resumeBg)
padding-left: 8px
+transition(all 100ms ease-in)
.job
width: 100%
float: left
h2
margin: 0
span
float: right
display: inline-block
font-size: 16px
background: invert($resumeBg)
color: $resumeBg
padding: 6px 8px
min-width: 120px
text-align: center
p
margin: 6px 0
.brag
display: inline-block
margin: 10px 0
font-style: italic
background: darken($resumeBg, 14%)
padding: 20px 20px 20px 50px
color: #333
text-align: justify
border-bottom: solid 1px darken($resumeBg, 25%)
position: relative
text-shadow: 0 1px 1px $resumeBg
max-height: 40px
&:before
position: absolute
left: 0
top: 0
content: ""
width: 0
height: 0
border-top: 40px solid transparent
border-bottom: 40px solid transparent
border-left: 40px solid $resumeBg
.skills
width: 49%
display: block
float: left
padding-bottom: 20px
h3
margin: 20px 20px 10px 20px
text-transform: uppercase
position: relative
.fa
position: absolute
top: -4px
right: 0
padding: 4px
+border-radius(3px)
ul
font-size: 14px
list-style: none
margin: 0
padding: 0 20px
li
float: left // disable for list view
padding: 4px 6px
margin: 0 4px 4px 0
&.light
opacity: 0.6
&.odd
margin-right: 2%
&.code
background: $myBlue
.fa
background: lighten($myBlue, 15%)
+box-shadow(inset 0 1px 2px darken($myBlue, 30%))
li
background: darken($myBlue, 12%)
text-shadow: 0 1px 1px $myBlue
&:hover
background: darken($myBlue, 6%)
&.prim
text-shadow: none
background: darken($myBlue, 25%)
color: $resumeBg
clear: left
&.software
background: $myGreen
.fa
background: lighten($myGreen, 15%)
+box-shadow(inset 0 1px 2px darken($myGreen, 30%))
li
background: darken($myGreen, 12%)
text-shadow: 0 1px 1px $myGreen
&:hover
background: darken($myGreen, 6%)
&.prim
text-shadow: none
background: darken($myGreen, 25%)
color: #fff
clear: left
ul.buttons
margin: 0
padding: 0
list-style: none
li
float: left
text-align: center
display: inline-block
width: 32%
margin-right: 1%
+border-radius(2px)
position: relative
margin-bottom: 8px
a
display: inline-block
padding: 10px 0
color: $resumeBg
&:last-child
margin-right: 0
background: $myBrown
border-bottom: solid 3px darken($myBrown, 20%)
+transition(all 100ms ease-in-out)
width: 33%
&:hover
background: lighten($myBrown, 10%)
border-bottom: solid 3px darken($myBrown, 5%)
+transition(all 200ms ease-in-out)
&:nth-child(1)
background: $myPink
border-bottom: solid 3px darken($myPink, 20%)
+transition(all 100ms ease-in-out)
&:hover
background: lighten($myPink, 10%)
border-bottom: solid 3px darken($myPink, 5%)
+transition(all 200ms ease-in-out)
&:nth-child(2)
background: $myGreen
border-bottom: solid 3px darken($myGreen, 20%)
+transition(all 100ms ease-in-out)
&:hover
background: lighten($myGreen, 10%)
border-bottom: solid 3px darken($myGreen, 5%)
+transition(all 200ms ease-in-out)
&:nth-child(3)
background: $myBlue
border-bottom: solid 3px darken($myBlue, 20%)
+transition(all 100ms ease-in-out)
margin-right: 0
width: 33%
&:hover
background: lighten($myBlue, 10%)
border-bottom: solid 3px darken($myBlue, 5%)
+transition(all 200ms ease-in-out)
&:nth-child(4)
background: $myOrange
border-bottom: solid 3px darken($myOrange, 20%)
+transition(all 100ms ease-in-out)
&:hover
background: lighten($myOrange, 10%)
border-bottom: solid 3px darken($myOrange, 5%)
+transition(all 200ms ease-in-out)
&:nth-child(5)
background: $myGray
border-bottom: solid 3px darken($myGray, 20%)
+transition(all 100ms ease-in-out)
&:hover
background: lighten($myGray, 10%)
border-bottom: solid 3px darken($myGray, 5%)
+transition(all 200ms ease-in-out)
@media(max-width: 1010px)
.contOut .contIn h1, .contOut .contIn p.tagline
width: 42%
margin-left: 3%
.skills.code, .skills.software
width: 100%
.skills.code
margin-bottom: 10px
ul.buttons li
width: 48%
margin-bottom: 10px
&:nth-child(3), &:last-child
width: 48%
ul.buttons li:nth-child(even)
float: right
margin-right: 0
@media(max-width: 850px)
.middle .job p .brag
padding-left: 70px
max-height: 60px
&:before
border-top: 50px solid transparent
border-bottom: 50px solid transparent
border-left: 50px solid $resumeBg
.contOut .contIn
.logoCont
width: 35%
.logo
max-width: 200px
h1
width: 62%
float: right
text-align: right
margin-bottom: 10px
.moreInfo
width: 60%
p.tagline
clear: left
width: 30%
margin: 0
.contracts
width: 100%
+box-sizing(border-box)
padding: 20px 30px
h3
margin: 0 0 20px 0
.contract
+box-sizing(border-box)
padding: 10px
width: 24%
min-height: 160px
background: #ffc
border: solid 1px darken(#ffc, 10%)
+box-shadow(0 1px 2px #999)
color: darken(#ffc, 80%)
float: left
margin-right: 1%
margin-bottom: 10px
position: relative
padding-bottom: 15px
h4
margin: 0
p.desc
font-size: 14px
color: darken(#ffc, 75%)
word-wrap: break-word
a:hover
text-decoration: underline
span.date
position: absolute
bottom: 5px
right: 5px
font-size: 12px
color: darken(#ffc, 60%)
@media(max-width: 800px)
.contracts .contract
width: 49%
@media(max-width: 620px)
.middle .job p .brag
padding-left: 80px
max-height: 80px
&:before
border-top: 60px solid transparent
border-bottom: 60px solid transparent
border-left: 60px solid $resumeBg
@media(max-width: 570px)
.middle .job p .brag
padding-left: 90px
max-height: 100px
&:before
border-top: 70px solid transparent
border-bottom: 70px solid transparent
border-left: 70px solid $resumeBg
ul.buttons li
width: 100%
margin-right: 0
&:nth-child(3), &:last-child
width: 100%
.skills ul li
float: none
.contOut .contIn
h1
font-size: 34px
.contracts .contract
width: 100%
margin-right: 0
@media(max-width: 500px)
.middle .job p .brag
padding-left: 20px
max-height: none
&:before
border-top: none
border-bottom: none
border-left: none
.middle .job h2 span
margin-top: 10px
.contOut .contIn
h1
font-size: 28px
.moreInfo
font-size: 14px
@media(max-width: 450px)
.contOut .contIn
.moreInfo, p.tagline
font-size: 12px
.sm
list-style: none
position: absolute
top: 10px
right: 30px
margin: 0
li
display: inline-block
float: left
margin-left: 6px
a
//text-shadow: 0 1px 1px #fff
color: #ccc
&:hover
color: #fff
$(window).load(function(){
// Page Load Anim
$('.contOut').animate({
'opacity':'1'
},1200);
// Jobs Accordion
$('.fa-plus').closest('.job').find('p').slideUp();
$('.openBtn').on('click', function() {
if ($(this).hasClass('open')) {
$(this).removeClass('open').removeClass('fa-minus').addClass('fa-plus');
$(this).closest('.job').find('p').animate({
'opacity':'0'
},200).slideUp();
} else {
$(this).addClass('open').removeClass('fa-plus').addClass('fa-minus');
$(this).closest('.job').find('p').slideDown().animate({
'opacity':'1'
},400);
}
});
});
Also see: Tab Triggers