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 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.
<div style="background-color: rgb(255, 255, 255); margin: 0px auto; text-align: justify;">Have you experienced water leak damage before?
<img src="https://04tnw.mjt.lu/img/04tnw/b/r27/pjqo.png" style="max-width: 100%" width="500"></div>
<div style="align-self: middle; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">Hi,</div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">I’m Dayna from Custos Home. I know how precious your home is to you. You have the right to want to live in peace in this house where you have made so many sacrifices. Do you know, every year, about <strong>one in 50 homeowners files a water damage</strong> or freezing claim, <strong>accounting for 29% of all homeowners insurance claims</strong>, according to the Insurance Information Institute? The <strong>average cost of a water damage or freezing claim is $11,098.</strong></div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">With Custos, protect your living space from flooding and save money. Also, check the status of your home and control the water valve remotely with Custos App.</div>
<div style="margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; text-align: left; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);"> </div>
<div style="background-color: rgb(255, 255, 255); margin: 0px auto;"><img style="align-self:middle;" src="https://04tnw.mjt.lu/img/04tnw/b/r27/pjno.gif" style="max-width: 100%" width="240"></div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 16px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">As a matter of fact, <strong>14 thousand homeowners were impacted by water leak damage</strong> every day and have to seek urgent solutions. In addition, <strong>37% of these homeowners cause serious damage</strong> to their homes due to these leaks and flooding.</div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 16px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">Even if your insurance covers some or all of the damage, many intangible treasures in your home can be irreversibly damaged or destroyed.</div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 16px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">Custos comes to you with a great solution. This is a very practical, hassle-free, effortless, and extremely affordable solution: Custos Kit.</div>
<div style="margin: 10px 0px; font-family: Arial, sans-serif; font-size: 16px; letter-spacing: normal; line-height: 1; text-align: left; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);"> </div>
<div style="background-color: rgb(255, 255, 255); margin: 0px auto;"><img src="https://04tnw.mjt.lu/img/04tnw/b/r27/pjng.jpeg" style="max-width: 100%" width="400"></div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);"><strong>Custos Kit is a DIY Water Leak Damage Prevention solution</strong>. It includes a Valve Servo to control the water valve, two leak sensors to detect leaks and tell the valve servo to take action, and a Gateway to connect the kit to the internet so <strong>you can monitor and control your home remotely.</strong></div>
<div style="text-align: justify; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);">Do you know? <strong>We're going live on Kickstarter soon - if you're interested in Custos and want to support us as our backer on Kickstarter</strong>. You can go to the campaign page via the button and click the "Notify me" button. Or you can go to our website to check all the details about the project and leave your email for updates.</div>
<div style="background-color: rgb(255, 255, 255); margin: 0px auto;"><img src="https://04tnw.mjt.lu/img/04tnw/b/r27/pjn6.png" style="max-width: 100%" width="400"></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px auto;"><a href="http://kickstarter.com/projects/custos/custos-starter-kit" rel="noopener noreferrer" target="_blank">Notify Me on Launch</a><a href="http://custos.us" rel="noopener noreferrer" target="_blank">Leave Email</a></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px auto;"><a href="http://custos.us" rel="noopener noreferrer" target="_blank"><img src="https://04tnw.mjt.lu/img/04tnw/b/r27/pjn7.png" style="max-width: 100%" width="200"></a></div>
<div style="text-align: center; margin: 10px 0px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: normal; line-height: 1; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(255, 255, 255);"><strong>Keep in touch with Custos!</strong></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px auto;"><a href="https://www.instagram.com/custoshome/" rel="noopener noreferrer" target="_blank"><img src="https://www.mailjet.com/images/theme/v1/icons/ico-social/instagram.png" style="max-width: 100%" width="31"></a><a href="https://www.facebook.com/Custos.us" rel="noopener noreferrer" target="_blank"><img src="https://www.mailjet.com/images/theme/v1/icons/ico-social/facebook.png" style="max-width: 100%" width="31"></a><a href="https://www.linkedin.com/company/custos-home" rel="noopener noreferrer" target="_blank"><img src="https://www.mailjet.com/images/theme/v1/icons/ico-social/linkedin.png" style="max-width: 100%" width="31"></a></div>
<div style="margin: 10px 0px; font-family: Arial, sans-serif; font-size: 11px; letter-spacing: normal; line-height: 22px; text-align: center; color: rgb(0, 0, 0); direction: ltr; background-color: rgb(244, 244, 244);">This e-mail has been sent to [[EMAIL_TO]], <a href="[[UNSUB_LINK_EN]]" rel="noopener noreferrer" target="_blank">click here to unsubscribe</a>.</div>
Also see: Tab Triggers