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 URL's added here will be added as <link>
s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.
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.
If the stylesheet 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 CSS 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.
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 Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
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 xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- Turn off iOS phone number autodetect -->
<meta name="format-detection" content="telephone=no">
<style>
body, p {
font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
border: 0;
padding: 0;
}
img {
margin: 0;
padding: 0;
}
.content {
width: 600px;
}
.no_text_resize {
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
}
/* Media Queries */
@media all and (max-width: 600px) {
table[class="content"] {
width: 100% !important;
}
tr[class="grid-no-gutter"] td[class="grid__col"] {
padding-left: 0 !important;
padding-right: 0 !important;
}
td[class="grid__col"] {
padding-left: 15px !important;
padding-right: 15px !important;
}
tr[class="small_full_width"] td[class="grid__col"] {
padding-left: 0px !important;
padding-right: 0px !important;
}
table[class="small_full_width"] {
width: 100% !important;
padding-bottom: 10px;
}
a[class="header-link"] {
margin-right: 0 !important;
margin-left: 10px !important;
}
a[class="btn"] {
width: 100%;
border-left-width: 0px !important;
border-right-width: 0px !important;
}
table[class="col-layout"] {
width: 100% !important;
}
td[class="col-container"] {
display: block !important;
width: 100% !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
td[class="col-nav-items"] {
display: inline-block !important;
padding-left: 0 !important;
padding-right: 10px !important;
background: none !important;
}
img[class="col-img"] {
height: auto !important;
max-width: 520px !important;
width: 100% !important;
}
td[class="col-center-sm"] {
text-align: center;
}
tr[class="footer-attendee-cta"] > td[class="grid__col"] {
padding: 24px 0 0 !important;
}
td[class="col-footer-cta"] {
padding-left: 0 !important;
padding-right: 0 !important;
}
td[class="footer-links"] {
text-align: left !important;
}
.hide-for-small {
display: none !important;
}
.ribbon-mobile {
line-height: 1.3 !important;
}
.small_full_width {
width: 100% !important;
padding-bottom: 10px;
}
.table__ridge {
height: 7px !important;
}
.table__ridge img {
display: none !important;
}
.table__ridge--top {
background-image: url(https://cdn.evbstatic.com/s3-s3/marketing/emails/modules/ridges_top_fullx2.jpg) !important;
background-size: 170% 7px;
}
.table__ridge--bottom {
background-image: url(https://cdn.evbstatic.com/s3-s3/marketing/emails/modules/ridges_bottom_fullx2.jpg) !important;
background-size: 170% 7px;
}
.summary-table__total {
padding-right: 10px !important;
}
.app-cta {
display: none !important;
}
.app-cta__mobile {
width: 100% !important;
height: auto !important;
max-height: none !important;
overflow: visible !important;
float: none !important;
display: block !important;
margin-top: 12px !important;
visibility: visible;
font-size: inherit !important;
}
/* List Event Cards */
.list-card__header {
width: 130px !important;
}
.list-card__label {
width: 130px !important;
}
.list-card__image-wrapper {
width: 130px !important;
height: 65px !important;
}
.list-card__image {
max-width: 130px !important;
max-height: 65px !important;
}
.list-card__body {
padding-left: 10px !important;
}
.list-card__title {
margin-bottom: 10px !important;
}
.list-card__date {
padding-top: 0 !important;
}
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
.ribbon-mobile {
line-height: 1.3 !important;
}
.ribbon-mobile__text {
padding: 0 !important;
}
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
.ribbon-mobile {
line-height: 1.3 !important;
}
.ribbon-mobile__text {
padding: 0 !important;
}
}
@media screen and (min-device-height:480px) and (max-device-height:568px), (min-device-width : 375px) and (max-device-width : 667px) and (-webkit-min-device-pixel-ratio : 2), (min-device-width : 414px) and (max-device-width : 736px) and (-webkit-min-device-pixel-ratio : 3) {
.hide_for_iphone {
display: none !important;
}
.passbook {
width: auto !important;
height: auto !important;
line-height: auto !important;
visibility: visible !important;
display: block !important;
max-height: none !important;
overflow: visible !important;
float: none !important;
text-indent: 0 !important;
font-size: inherit !important;
}
}
</style>
</head>
<!-- Global container with background styles. Gmail converts BODY to DIV so we
lose properties like BGCOLOR. -->
<body border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" bgcolor="#F8F7FA"
style="margin: 0;">
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" bgcolor="#F8F7FA">
<tr>
<td style="padding-right: 10px; padding-left: 10px;">
<!-- Outlook Hack (doesn't support max-width property until 2013) -->
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="#F8F7FA">
<tr>
<td>
<![endif]-->
<table class="content" align="center" cellpadding="0" cellspacing="0" border="0"
bgcolor="#F8F7FA" style="width: 600px; max-width: 600px;">
<tr>
<td width="33%" valign="middle" style="text-align: left; padding: 30px 0 20px 0;">
<a href="https://www.eventbrite.com/?utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=eb_logo">
<img src="https://cdn.evbstatic.com/s3-build/perm_001/2641ef/django/images/email/base/big-brand.png"
width="136" height="22" border="0" alt="Eventbrite" style="width:136px; height:22px;"
/>
</a>
</td>
<td width="66%" valign="middle" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: right; padding-top: 12px; vertical-align: middle;"></td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td>
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
<tr>
<td>
<![endif]-->
<table class="content" align="center" cellpadding="0" cellspacing="0" border="0"
bgcolor="#F8F7FA" style="width: 600px; max-width: 600px;">
<tr>
<td colspan="2" style="background: #fff; border-radius: 8px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;">
<tr class="">
<td class="grid__col" style="font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; padding: 32px 40px; padding-bottom: 0px;"
align="">
<h2 style="color: #404040; font-weight: 300; margin: 0 0 12px 0; font-size: 30px; line-height: 36px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">
Welcome to Eventbrite!
</h2>
<div style="color: #666666; font-weight: 400; font-size: 17px; line-height: 24px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; margin-bottom: 24px;"
class="">Eventbrite is the easiest way to sell tickets and manage registration for any
kind of event, and it's totally free for free events.</div>
<table width="100%"
border="0" cellspacing="0" cellpadding="0" style="margin-top: 12px; margin-bottom: 12px; ">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="">
<tr>
<td style="-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;"
align="">
<a href="https://www.eventbrite.com/create/?utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=create_button"
target="_blank" style="
display:inline-block;
color: #fff;
font-weight: 400;
border-left: 15px solid;
border-right: 15px solid;
border-top: 12px solid;
border-bottom: 12px solid;
font-size: 17px;
text-decoration: none;
text-align: center;
-webkit-text-size-adjust: none;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; background-color: #F05537; border-color: #F05537; "
class="btn"> <span style="padding-left: 5px; padding-right: 5px;">
Create an Event
</span>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr class="">
<td class="grid__col" style="font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; padding: 0 40px 0; "
align="">
<div style="border-top: #dedede solid 1px; padding-top: 32px; margin-top: 32px;">
<h2 style="color: #404040; font-weight: 300; margin: 0 0 12px 0; font-size: 24px; line-height: 30px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">
How it works
</h2>
</div>
</td>
</tr>
<tr class="">
<td class="grid__col" style="font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; padding: 32px 40px; "
align="">
<table cellspacing="0" cellpadding="0" width='100%' style='' align='' class="col-layout">
<tr style='' class=''>
<td width='33%' height='' style='padding-right: 20px; margin-bottom: 24px;' align=''
valign='top' class='col-container' colspan='1'>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr style='' class=''>
<td width='' height='' style='text-align: center;' align='' valign='' class=''
colspan='1'>
<img src='https://cdn.evbstatic.com/s3-s3/marketing/emails/images/icons/edit.png'
title='' alt='' style='' border="0" width='60' height='60' class="" />
</td>
</tr>
<tr style='' class=''>
<td width='' height='' style='' align='' valign='' class='col-center-sm' colspan='1'>
<p style="color: #666666; font-weight: 400; font-size: 17px; line-height: 24px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; margin-bottom: 0;"
class="">
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
href="https://www.eventbrite.com/support/articleredirect?anum=5035&utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=createev_text"
class="">Create</a>
</p>
<div style="color: #666666; font-weight: 400; font-size: 15px; line-height: 21px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">Fill in event details and ticket options, and your page is ready!</div>
</td>
</tr>
</table>
</td>
<td width='33%' height='' style='padding-right: 15px; padding-left: 15px; margin-bottom: 24px;'
align='' valign='top' class='col-container' colspan='1'>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr style='' class=''>
<td width='' height='' style='text-align: center;' align='' valign='' class=''
colspan='1'>
<img src='https://cdn.evbstatic.com/s3-s3/marketing/emails/images/icons/friends.png'
title='' alt='' style='' border="0" width='60' height='60' class="" />
</td>
</tr>
<tr style='' class=''>
<td width='' height='' style='' align='' valign='' class='col-center-sm' colspan='1'>
<p style="color: #666666; font-weight: 400; font-size: 17px; line-height: 24px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; margin-bottom: 0;"
class="">
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
href="https://www.eventbrite.com/support/articleredirect?anum=3746&utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=promote_text"
class="">Share</a>
</p>
<div style="color: #666666; font-weight: 400; font-size: 15px; line-height: 21px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">Send invites and promote your event with social tools.</div>
</td>
</tr>
</table>
</td>
<td width='33%' height='' style='padding-left: 15px;' align='' valign='middle'
class='col-container' colspan='1'>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr style='' class=''>
<td width='' height='' style='text-align: center;' align='' valign='' class=''
colspan='1'>
<img src='https://cdn.evbstatic.com/s3-s3/marketing/emails/images/icons/chart.png'
title='' alt='' style='' border="0" width='60' height='60' class="" />
</td>
</tr>
<tr style='' class=''>
<td width='' height='' style='' align='' valign='' class='col-center-sm' colspan='1'>
<p style="color: #666666; font-weight: 400; font-size: 17px; line-height: 24px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; margin-bottom: 0;"
class="">
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
href="https://www.eventbrite.com/support/articleredirect?anum=3435&utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=host_text"
class="">Host</a>
</p>
<div style="color: #666666; font-weight: 400; font-size: 15px; line-height: 21px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">Stay on top of your guest list and tickets, and have a great event.</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr class="">
<td class="grid__col" style="font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; padding: 12px 40px 32px; "
align="">
<h2 style="color: #404040; font-weight: 300; margin: 0 0 12px 0; font-size: 24px; line-height: 30px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">
Need more help getting started?
</h2>
<div style="color: #666666; font-weight: 400; font-size: 15px; line-height: 21px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
class="">Check out our
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
href="https://www.eventbrite.com/help/?utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=help_text"
class="">Help Center</a>for step-by-step tutorials or view your support options
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
href="https://www.eventbrite.com/support/contact-us/?utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=contact_us_text"
class="">here</a>.</div>
<p style="color: #666666; font-weight: 400; font-size: 17px; line-height: 24px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; margin-bottom: 6px; margin-top: 36px;"
class="">Cheers,</p>
<a href="https://www.eventbrite.com/?utm_source=eb_email&utm_medium=email&utm_campaign=organizer_welcome&utm_term=eb_signature">
<img src="https://cdn.evbstatic.com/s3-s3/marketing/emails/images/ebsig.png" alt="Eventbrite"
style="border: 0;" height="38" />
</a>
</td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="content" align="center" cellpadding="0" cellspacing="0" border="0"
style="width: 600px; max-width: 600px; font-family: Helvetica, Arial, sans-serif;">
<tr>
<td style="padding-top: 24px;">
<table cellspacing="0" cellpadding="0" width="100%" style="width: 100%; min-width: 100%;"
class="">
<tr>
<td style="background-color: #dedede; width: 100%; min-width: 100%; font-size: 1px; height: 1px; line-height: 1px; "
class=""> </td>
</tr>
</table>
</td>
</tr>
<tr class="">
<td class="grid__col" style="font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; padding: 24px 0; text-align: center;"
align="">
<div style="color: #666666; font-weight: 400; font-size: 13px; line-height: 18px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; font-weight: 300; padding-bottom: 6px;"
class="">
<span style='' class=''>
This email was sent to
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; " href="mailto:htmlemail@13prime.com" class="">htmlemail@13prime.com</a>
</span>
</div>
<div style="color: #666666; font-weight: 400; font-size: 13px; line-height: 18px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; font-weight: 300; padding-bottom: 6px;"
class="">
<a style="text-decoration: none; color: #3D64FF; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; "
href="https://www.eventbrite.com" class="">Eventbrite</a>| 155 5th St, 7th Floor | San Francisco, CA 94103</div>
<div style="color: #666666; font-weight: 400; font-size: 13px; line-height: 18px; font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica neue', Helvetica, Tahoma, Arial, sans-serif; font-weight: 300; "
class="">Copyright © 2018 Eventbrite. All rights reserved.</div>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<img src="https://www.eventbrite.com/emails/action/?recipient=htmlemail%4013prime.com&type_id=9&type=open&send_id=2018-10-16&list_id=10"
alt="" width="1" height="1" border="0" style="border: 0;" />
</td>
</tr>
</table>
</body>
</html>
Also see: Tab Triggers