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.
<!DOCTYPE html>
<html>
<head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<!-- [ if !mso]> <!-->
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<!-- <![endif] -->
<meta content="telephone=no" name="format-detection" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>BrightWave</title>
<style type="text/css">
.ExternalClass {
width:100%;
}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div, .ExternalClass b, .ExternalClass br, .ExternalClass img {
line-height: 100% !important;
}
body {
margin:0;
padding:0;
-webkit-text-size-adjust:100% !important;
-ms-text-size-adjust:100% !important;
}
body, #body_style {
background:#fffffe;min-height:1000px;
}
table td {
border-collapse:collapse;
border-spacing:0 !important
}
table tr {
border-collapse:collapse;
border-spacing:0 !important
}
table tbody {
border-collapse:collapse;
border-spacing:0 !important
}
table {
border-collapse:collapse;
border-spacing:0 !important
}
span.yshortcuts, a span.yshortcuts {
color:#000001;
background-color:none;
border:none;
}
span.yshortcuts:hover, span.yshortcuts:active, span.yshortcuts:focus {
color:#000001;
background-color:none;
border:none;
}
.yahooNone {
display: none;
}
img {
-ms-interpolation-mode: bicubic;
}
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
a {color: #fffffe;}
/**** Start of CSS hero animation ****/
@keyframes animatedBackground {
0% { background-position: 1849px 0; }
100% { background-position: 0px 0; }
}
@-moz-keyframes animatedBackground {
0% { background-position: 1849px 0; }
100% { background-position: 0px 0; }
}
@-webkit-keyframes animatedBackground {
0% { background-position: 1849px 0; }
100% { background-position: 0px 0; }
}
#animate-area2 {
width:1849px;
background-image: url(http://image.bwmta.com/lib/fe9815707566017473/m/8/another_Background.jpg);
background-position: 0px 0px;
background-repeat: repeat-x;
animation: animatedBackground 10s linear infinite;
-moz-animation: animatedBackground 60s linear infinite;
-webkit-animation: animatedBackground 60s linear infinite;
}
</style>
</head>
<body style="background:#fffffe; min-height:1000px;" bgcolor="#fffffe">
<div align="center" id="body_style" style="padding:15px">
<table width="580" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="580">
<tr>
<td cellpadding="0" cellspacing="0" border="0" style="background-color:#EEEEEE; line-height: 0px; height: 1px; min-width: 580px;">
<img src="http://image.bwmta.com/lib/fe9815707566017473/m/7/spacerFixGmail.gif" height="1" width="580" style="max-height:1px; min-height:1px; display:block; width:580px; min-width:580px;" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="font-size: 0px; line-height: 0; color: #fffffe;">Here's to more uncharted waters!</td>
</tr>
<tr>
<td bgcolor="#1c2f60">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#5790cc">
<a href="#" target="_blank"><img src="http://image.bwmta.com/lib/fe9815707566017473/m/8/Holiday_seeithere.jpg" alt="Don't see the awesome animation below? See it here." title="Don't see the awesome animation below? See it here." style="display:block; max-width:580px;"
border="0" height="40" width="578"></a>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#1c2f60">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" bgcolor="#1c2f60">
<a href="http://click.bwmta.com/?qs=7c07118477b0546b05325d05d492732676504fe090cec2c282d382f012cd1875" target="_blank"><img src="http://image.bwmta.com/lib/fe9815707566017473/m/8/HolidayCard_Img_02.jpg" alt="BRIGHTWAVE" style="display:block; max-width:173px;" border="0" height="59" width="173"></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#1c2f60" width="1849px" height="549px" id="animate-area2" align="center" background="http://image.bwmta.com/lib/fe9815707566017473/m/8/another_Background.jpg" style="background-image: url(http://image.bwmta.com/lib/fe9815707566017473/m/8/another_Background.jpg); background-position: left; width: 1849px; height: 549px;">
<!--[if gte mso 9]>
<v:image xmlns:v="urn:schemas-microsoft-com:vml" id="theImage" style='behavior: url(#default#VML); display:inline-block;position:absolute; width: 580px; height: 549px; top:0;left:0;border:0;z-index:1;' src="http://image.bwmta.com/lib/fe9815707566017473/m/8/another_Background_OL_A.jpg" />
<v:shape xmlns:v="urn:schemas-microsoft-com:vml" id="theText" style='behavior: url(#default#VML); display:inline-block;position:absolute; width: 580px; height: 549px; top:7;left:-10;border:0;z-index:2;'>
<div>
<![endif]-->
<table align="center" border="0" cellpadding="0" cellspacing="0" width="580">
<tr>
<td valign="bottom">
<table width="580" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left"><img src="http://image.bwmta.com/lib/fe9815707566017473/m/8/new_simms.png" alt="" style="display: block;" border="0" height="549" width="580"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<!--[if gte mso 9]>
</div>
</v:shape>
<![endif]-->
</td>
</tr>
<tr>
<td align="center" style="padding-top: 30px; padding-bottom: 20px;">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center"><img src="http://image.bwmta.com/lib/fe9815707566017473/m/8/HolidayCard_Img_06.jpg" alt="BRIGHTWAVE" style="display:block; max-width:448px;" border="0" height="76" width="448"></td>
</tr>
<tr>
<td align="center" style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; color: #4c4c4c; line-height: 20px; mso-line-height-rule: exactly; padding-top: 10px; padding-bottom: 20px;"><b>Thank you so much for being aboard with us this year. We think you'll agree that we stayed anchored by what we do best—keeping your email program in ship shape—but also looked to the horizon for great things ahead.<br><br>
We wish you a joy-filled holiday and smooth sailing into 2017.</b></td>
</tr>
<tr>
<td align="center">
<a href="http://click.bwmta.com/?qs=7c07118477b0546b05325d05d492732676504fe090cec2c282d382f012cd1875" style="color:#fffffe; text-decoration:none;" target="_blank"><img src="http://image.bwmta.com/lib/fe9815707566017473/m/8/HolidayCard_Img_10.jpg" alt="BRIGHTWAVE" style="display:block; max-width:172px;" border="0" height="48" width="172"></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td bgcolor="#aaaaaa" align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 11px; color: #fffffe; padding-top: 30px; padding-bottom: 30px;"><b><a href="#" style="color:#fffffe; text-decoration:none;" target="_blank"><span style="color:#fffffe; text-decoration:none">View in Browser</span></a> | <a href="#" style="color:#fffffe; text-decoration:none;" target="_blank"><span style="color:#fffffe; text-decoration:none">Unsubscribe</span></a></b><br><br> BrightWave is North America's leading email marketing agency. The award-winning firm specializes in elevating email marketing that drives revenue, cuts costs and builds relationships. Headquartered in Atlanta, GA, BrightWave works with
a blue chip client roster, including Aflac, Chick-fil-A, Equifax, Mattress Firm and Phillips 66. For more information, please visit <a href="http://click.bwmta.com/?qs=7c07118477b0546b05325d05d492732676504fe090cec2c282d382f012cd1875"
style="color:#fffffe; text-decoration:none;" target="_blank"><span style="color:#fffffe; text-decoration:none">BrightWave.com</span></a><br><br> You are receiving this email as a part of your BrightWave Report subscription or because
of your relationship with BrightWave as a client, partner or friend of the company. You can opt out of these messages at any time.<br><br> To be sure that you always receive The BrightWave Report, add the e-mail address <a href="mailto:email@bwmta.com"
style="color:#fffffe; text-decoration:none;" target="_blank"><span style="color:#fffffe; text-decoration:none">email@bwmta.com</span></a> to your address book or personal whitelist.<br><br> BrightWave
<br> 67 Peachtree Park Drive, Suite 200 Atlanta, GA, 30309, United States</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
Also see: Tab Triggers