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.
<section class="wrapper" id="site-wrapper">
<header id="site-header">
<div class="wrapper">
<div id="logo">
<div class="rays">
<svg width="386" height="385" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient x1="55.009%" y1="24.465%" x2="45.911%" y2="94.31%" id="a">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.018%" y1="24.465%" x2="45.904%" y2="94.31%" id="b">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.029%" y1="24.465%" x2="45.895%" y2="94.31%" id="c">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.038%" y1="24.465%" x2="45.887%" y2="94.31%" id="d">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.043%" y1="24.465%" x2="45.883%" y2="94.31%" id="e">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.041%" y1="24.465%" x2="45.885%" y2="94.31%" id="f">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.033%" y1="24.465%" x2="45.891%" y2="94.31%" id="g">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.022%" y1="24.465%" x2="45.9%" y2="94.31%" id="h">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.012%" y1="24.465%" x2="45.908%" y2="94.31%" id="i">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.006%" y1="24.465%" x2="45.913%" y2="94.31%" id="j">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.006%" y1="24.465%" x2="45.913%" y2="94.31%" id="k">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.013%" y1="24.465%" x2="45.908%" y2="94.31%" id="l">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.023%" y1="24.465%" x2="45.899%" y2="94.31%" id="m">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.034%" y1="24.465%" x2="45.89%" y2="94.31%" id="n">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.041%" y1="24.465%" x2="45.884%" y2="94.31%" id="o">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.043%" y1="24.465%" x2="45.883%" y2="94.31%" id="p">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.038%" y1="24.465%" x2="45.887%" y2="94.31%" id="q">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.028%" y1="24.465%" x2="45.896%" y2="94.31%" id="r">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.017%" y1="24.465%" x2="45.905%" y2="94.31%" id="s">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.008%" y1="24.465%" x2="45.911%" y2="94.31%" id="t">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
<linearGradient x1="55.005%" y1="24.465%" x2="45.914%" y2="94.31%" id="u">
<stop stop-color="#ffe5ca" offset="0%"/>
<stop stop-color="#eeefee" stop-opacity="0" offset="100%"/>
</linearGradient>
</defs>
<g fill="none" fill-rule="evenodd">
<path fill="url(#a)" transform="rotate(-139 301.206 151.657)" d="M345.134 70.539l-39.08 171.002-29.542-10.651z"/>
<path fill="url(#b)" transform="rotate(-122 310.29 185.697)" d="M355.5 103.347l-39.105 170.94-29.553-10.644z"/>
<path fill="url(#c)" transform="rotate(-105 309.035 221.563)" d="M355.765 137.74l-39.159 170.904-29.558-10.635z"/>
<path fill="url(#d)" transform="rotate(-87 297.134 256.484)" d="M345.904 170.655l-39.23 170.905-29.556-10.622z"/>
<path fill="url(#e)" transform="rotate(-70 275.37 287.636)" d="M326.783 199.167L287.5 370.11l-29.548-10.613z"/>
<path fill="url(#f)" transform="rotate(-53 244.637 313.293)" d="M300.098 220.75l-39.305 171.006-29.537-10.61z"/>
<path fill="url(#g)" transform="rotate(-36 205.268 333.577)" d="M268.22 233.498l-39.29 171.07-29.525-10.615z"/>
<path fill="url(#h)" transform="rotate(-19 150.77 356.674)" d="M233.98 236.287L194.74 407.4l-29.519-10.625z"/>
<path fill="url(#i)" transform="rotate(-2 -241.95 708.464)" d="M200.427 228.873l-39.175 171.123-29.519-10.636z"/>
<path fill="url(#j)" transform="rotate(15 182.398 237.29)" d="M170.548 211.914l-39.115 171.094-29.525-10.646z"/>
<path fill="url(#k)" transform="rotate(33 129.33 241.797)" d="M147.008 186.912l-39.081 171.034-29.537-10.652z"/>
<path fill="url(#l)" transform="rotate(50 105.598 219.55)" d="M131.905 156.078L92.817 327.046l-29.549-10.648z"/>
<path fill="url(#m)" transform="rotate(67 95.811 190.03)" d="M126.579 122.148l-39.13 170.917-29.557-10.64z"/>
<path fill="url(#n)" transform="rotate(84 97.894 158.807)" d="M131.496 88.132L92.302 259.03l-29.558-10.629z"/>
<path fill="url(#o)" transform="rotate(101 110.574 129.74)" d="M146.21 57.051l-39.258 170.92L77.4 217.353z"/>
<path fill="url(#p)" transform="rotate(118 132.186 105.95)" d="M169.4 31.67L130.103 202.64l-29.544-10.611z"/>
<path fill="url(#q)" transform="rotate(135 160.487 89.865)" d="M199.005 14.246l-39.303 171.037-29.531-10.612z"/>
<path fill="url(#r)" transform="rotate(153 192.68 83.2)" d="M232.393 6.332L193.126 177.43l-29.522-10.62z"/>
<path fill="url(#s)" transform="rotate(170 225.86 86.593)" d="M266.61 8.644l-39.207 171.124-29.518-10.631z"/>
<path fill="url(#t)" transform="rotate(-173 256.863 99.962)" d="M298.623 20.978l-39.141 171.113-29.522-10.643z"/>
<path fill="url(#u)" transform="rotate(-156 282.796 122.262)" d="M325.596 42.24l-39.093 171.068-29.531-10.65z"/>
</g>
</svg>
</div><!-- end: #rays -->
<img src="https://assets.codepen.io/2856/avatar.png" />
</div><!-- end: #logo -->
<h1>Mack Richardson's <span class="eyebrow">House of Design</span></h1>
<div id="social">
<i class="fab fa-facebook-square"></i>
<i class="fab fa-instagram-square"></i>
<i class="fab fa-github-square"></i>
<i class="fab fa-linkedin"></i>
</div>
</div><!-- end: .wrapper -->
</header><!-- end: #site-header -->
<main tab-index="1" id="main-content">
<div class="wrapper">
<article class="card word-balloon" role="article">
<h2 class="hello-world">Hello. I'm Mack.</h2>
<p>I'm a Web Developer, a FileMaker pro, a dog-lover and comic book nerd living and working in beautiful North Carolina. I run a small consultancy, <b>Qube Consulting</b>, building efficient <em>(and beautiful)</em> websites and applications.</p>
</article>
<article class="card word-balloon" role="article">
<h2>Qube Consulting</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien.</p>
<a class="button" href="#">Visit Qube Consulting</a>
</article>
<article class="card word-balloon" role="article">
<h2>Field Guide to Fun</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien.</p>
<a class="button" href="#">Coming Soon</a>
</article>
<article class="card word-balloon" role="article">
<h2>Brackets & Braces</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien.</p>
<a class="button" href="#">Coming Soon</a>
</article>
</div><!-- end .wrapper -->
<footer id="site-footer">
<p>©2021 Mack Richardson</p>
</footer><!-- end: #site-footer -->
</main><!-- end #main-content -->
</section><!-- end: #site-wrapper -->
:root {
// Colors
--clr-dark: hsla(0, 0%, 15%, 1.00);
--clr-dark-glare: hsla(0, 0%, 38%, 1.00);
--clr-light: hsla(0, 0%, 100%, 1.00);
--clr-light-shade: hsla(0, 0%, 80%, 1.00);
--clr-primary: hsla(120, 3%, 94%, 1.00);
--clr-primary-glare: hsla(120, 43%, 99%, 1.00);
--clr-primary-shade: hsla(120, 2%, 82%, 1.00);
--clr-secondary: hsla(44, 100%, 94%, 1.00);
--clr-secondary-glare: hsl(46, 100%, 97%);
--clr-secondary-shade: hsl(46, 34%, 69%);
--clr-tertiary: hsla(186, 63%, 48%, 1.00);
--clr-tertiary-glare: hsla(186, 77%, 58%, 1.00);
--clr-tertiary-shade: hsla(186, 75%, 35%, 1.00);
// Width
--sidebar-width: 400px;
}
$bp-md: 760px;
$bp-lg: 1260px;
@keyframes rotateCircle {
from { transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
* {
margin: 0;
padding: 0;
}
body {
background-color: var(--clr-primary);
font-family: 'Nunito', sans-serif;
font-size: 1.2rem;
position: relative;
&::after {
background-image: url(data:image/png;base64,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);
content: '';
opacity: 0.4;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1000;
} // #site-wrapper::after
} // body
h1, h2, h3 {
font-family: 'Montez', cursive;
line-height: 100%;
text-align: center;
letter-spacing: -1px;
}
h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
#site-wrapper {
display: flex;
flex-wrap: wrap;
} // #site-wrapper
@media (min-width: $bp-md) {
#site-wrapper > #site-header { flex: 1 1 30%; }
#site-wrapper > #main-content { flex: 1 1 70%; }
}
#site-header {
display: flex;
justify-content: center;
padding: 0;
width: 100%;
@media (min-width: $bp-md) {
justify-content: flex-end;
}
.wrapper {
display: flex;
flex-direction: column;
@media (min-width: $bp-md) {
position: fixed;
}
h1 {
line-height: 90%;
margin-top: -7rem;
text-shadow: 1px 1px 0 var(--clr-light);
.eyebrow {
display: block;
font-size: 2.2rem;
} // .eyebrow
} // h1
#logo {
display: flex;
align-items: center;
flex-direction: column;
height: var(--sidebar-width);
justify-content: center;
width: 100%;
.rays {
animation: rotateCircle 45s linear reverse infinite;
position: absolute;
top: 0;
transform-origin: 50% 50%;
width: var(--sidebar-width);
z-index: -1;
} // .rays
img {
display: block;
height: auto;
width: 125px;
} // img
} // #logo
} // .wrapper
} // #site-header
#main-content {
display: flex;
flex-direction: center;
margin: 2rem 0;
@media (min-width: $bp-md) {
transform: translateZ(0);
}
.wrapper {
width: 80%;
} // .wrapper
} // #main-content
.word-balloon {
background-color: var(--clr-light);
border-radius: 2rem;
box-shadow: 2px 2px 4px var(--clr-dark-glare);
margin-bottom: 1rem;
padding: 4rem;
position: relative;
&::after {
content: '';
width: 0;
height: 0;
border-left: 20px solid transparent;
border-bottom: 20px solid var(--clr-light);
border-right: 20px solid transparent;
position: absolute;
left: 45%;
top: -20px;
} // .word-balloon::after
@media (min-width: $bp-md) {
margin-left: 2rem;
max-width: 70ch;
&:first-of-type {
margin-top: 8rem;
}
&::after {
border-left: none;
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-right: 20px solid var(--clr-light);
position: absolute;
left: -15px;
top: 30px;
} // .word-balloon::after
} // @media
& > * {
text-align: left;
} // all
& h2 {
color: var(--clr-tertiary);
font-size: 2.5rem;
margin-bottom: 1rem;
position: relative;
} // h2
& h2.hello-world {
color: var(--clr-dark-glare);
font-size: 4rem;
}
&:last-of-type {
margin-bottom: 0;
}
} // .word-balloon
.card:first-of-type {
border-bottom: 1px solid var(--clr-primary-shade);
margin-bottom: 2rem;
padding-bottom: 2rem;
}
#site-footer {
padding: 1rem;
position: absolute;
bottom: -3rem;
left: 3rem;
text-align: center;
p {
color: var(--clr-light-shade);
text-shadow: 1px 1px 0 var(--clr-light);
} // p
} // #site-footer
a.button {
background-color: var(--clr-tertiary-glare);
color: white;
display: inline-block;
font-weight: 900;
margin: 1rem 0 .5rem 0;
padding: .5rem 2rem;
position: relative;
text-decoration: none;
text-transform: uppercase;
transition: all ease-in-out 255ms;
&:hover {
background-color: var(--clr-tertiary);
color: var(--clr-light);
text-shadow: -1px -1px 0 var(--clr-tertiary-shade);
&::after {
top: 0;
left: 0;
} // a.button:hover::after
} // a.button:hover
&::after {
background-color: transparent;
border: 2px solid var(--clr-tertiary);
content: '';
position: absolute;
top: -4px;
left: -4px;
height: 90%;
transition: all ease-in-out 255ms;
width: 98%;
} // a.button::after
} // a.button
#social {
display: flex;
gap: 1rem;
margin: 3rem auto 0 auto;
& > i {
font-size: 2rem;
}
}
Also see: Tab Triggers