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.
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic|Open+Sans:300,400,500,700|Waiting+for+the+Sunrise|Shadows+Into+Light' rel='stylesheet' type='text/css'>
<div class="wrapper clearfix">
<div class="left">
<div class="name-hero">
<div class="me-img"></div>
<div class="name-text">
<h1>Anthony <em>Adamski</em></h1>
<p>10 Iroquois St Boston, MA 02120</p>
<p>adamskianthony@gmail.com</p>
<p>(956) 500-5558</p>
</div>
</div>
</div>
<div class="right">
<div class="inner">
<section>
<h1>Employment</h1>
<p>Winter 2015 - Present <em>Grand Interactive, llc. | Mobile App Developer</em></p>
<p>Raised $78,000 in early stage funding, created initial design
concepts, and oversaw initial development. Currently oversee and maintain all front end code and server functionality.</p>
<p>Spring 2012 - Winter 2015 | <em>PadMatcher Inc. | CTO, Co-Founder</em></p>
<p>Raised $78,000 in early stage funding, created initial design
concepts, and oversaw initial development. Oversaw and maintained all front end code and server functionality.</p>
<p>Fall 2011 - Fall 2013 | <em>Penrose Realty llc. | Desinger & Assistant</em></p>
<p>Responsible for all technical areas. Maintain servers, computers, and provide in office technical support. Rebranded company from ground up including a fully responsive website. </p>
</section>
<section>
<h1>Technical Skills</h1>
<ul class="skill-set">
<li>Mobile Development</li>
<li>Xamarin</li>
<li>CSS3</li>
<li>Adobe Photoshop</li>
<li>HTML5</li>
<li>CSS3</li>
<li>JQUERY</li>
<li>UI Design</li>
<li>Company Branding</li>
<li>Responsive Web Design</li>
</ul>
</section>
<section>
<h1>References</h1>
<p>William Grand | <em>Grand Interactive, llc. | CEO</em></p>
<p>(617) 448-0910 | wgrand@grandinteractive.com</p>
<p>Eric Chauvin | <em>PadMatcher Inc. | CEO</em></p>
<p>(617) 448-0910 | eric@padmatcher.com</p>
<p>Chris Heller <em>Penrose Realty LLC. | Broker</em></p>
<p>(617) 794-4554 | chris@penroserealty.com</p>
</section>
<section>
<h1>Personal Interests</h1>
<ul class="skill-set">
<li>Faith</li>
<li>Biblical Studies</li>
<li>Playing Guitar</li>
<li>Song Writing</li>
<li>Health & Nutrition</li>
<li>Reading</li>
</ul>
</section>
<section>
<div class="handmade">
<p>handmade by <em> Anthony Adamski</em></p>
</div>
</section>
</div>
</div>
</div>
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
html
{
font-size:100%;
}
body
{
-webkit-font-smoothing:antialiased;
color:#333332;
font-family:Lora, serif;
font-size:18px;
font-weight:400;
line-height:1.4;
text-rendering:optimizeLegibility;
}
.skill-set li:hover
{
background:#3498db;
}
h1
{
color:rgba(0,0,0,.75);
}
.wrapper
{
height:100%;
}
.left
{
background-color:rgba(0,0,0,.025);
border-right:1px solid rgba(0,0,0,.05);
float:right;
height:100%;
margin-left:-1px;
min-width:256px;
position:fixed;
width:33.33%;
}
.right
{
float:right;
height:100%;
position:relative;
width:66.66%;
}
.name-hero
{
background:rgba(0,0,0,.001);
bottom:0;
height:290px;
left:0;
margin:auto;
position:absolute;
right:0;
top:0;
width:85%;
}
.me-img
{
background:url(https://media-exp1.licdn.com/dms/image/C4E03AQGnLq_IB_mf8Q/profile-displayphoto-shrink_400_400/0/1631022739752?e=1648684800&v=beta&t=eICUjHeH_g9GQEItmEMK1j2gCADwqfjrlccSD_5za58) no-repeat center center ;
background-size:100%;
background-position:0px;
border-radius:100%;
height:150px;
margin:0 auto;
position:relative;
width:150px;
}
.name-hero h1
{
font-family:Open Sans, sans-serif;
font-size:1.5em;
text-align:center;
}
.name-hero h1 em
{
color:rgba(0,0,0,.3);
font-style:normal;
font-weight:700;
}
.name-hero p
{
color:rgba(0,0,0,.75);
font-size:.75em;
line-height:1.5;
margin:0 8px 0 0;
text-align:center;
}
.name-hero .name-text
{
margin:0 auto;
width:85%;
}
.inner
{
margin:0 auto;
max-width:975px;
padding:3em;
}
.inner h1
{
font-size:1.75em;
}
.inner p
{
color:rgba(0,0,0,.5);
}
.inner p em
{
color:rgba(0,0,0,1);
font-style:normal;
}
.inner section
{
margin:100px auto;
}
ul
{
list-style-type:none;
margin-top:-10px;
max-width:570px;
padding:0;
}
.skill-set li
{
background:rgba(0,0,0,.75);
border-radius:5px;
color:#FFF;
display:inline-block;
list-style:none;
margin:15px 15px 0 0;
padding:10px;
text-align:justify;
}
@media screen and (max-width: 48em) {
.right,.left
{
float:none;
position:relative !important;
width:100%;
min-height:500px;
}
.handmade {
text-align:center !important;
margin-top:0px !important;
}
@media screen and (max-width: 75em) {
body
{ font-size:16px;}
}
@media screen and (max-width: 60em) {
body
{ font-size:14px;}
}
.clearfix:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.handmade {
text-align:right;
margin-top:100px;
}
.handmade em {
font-family: 'Shadows Into Light', cursive;
font-size: 1.25em;
margin-left:5px;
}
Also see: Tab Triggers