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.
<style>
/* cyrillic-ext */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gTD_u50.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3g3D_u50.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gbD_u50.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gfD_u50.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}</style>
<table >
<tbody >
<tr>
<table width='100%'>
<tr style="">
<td width='80%'>
<table>
<tr>
<td><div style='font-size:12px;margin-top: 10px;font-family: "Montserrat" ,sans-serif; margin-bottom: -2px;'><b>First and Last Name</b></div></td>
</tr>
<tr><td style='font-size:10px;color:gray;font-family: "Montserrat" ,sans-serif;'><b>Wholesale</b></td></tr>
<tr>
<td><div style='font-size:12px;font-family: "Montserrat" ,sans-serif;'>
<b>Your.Name@adamo.es</b></div></td>
<td><span style=' margin: 0 10px;'><strong>⋅</strong></span></td>
<td><div style=' font-size:12px; font-family: "Montserrat" ,sans-serif;'><b>777.777.777</b></div></td><td><span style=' margin: 0 10px;'><strong>⋅</strong></span></td>
<td><div style=' font-size:12px; font-family: "Montserrat" ,sans-serif;'><b>777.777.777</b></div></td>
</tr>
<tr><td><div style='font-size:12px; font-family: "Montserrat" ,sans-serif; '><a style="text-decoration:none; color:black; " href="www.adamo.es/wholesale"><b>www.adamo.es/wholesale</b></a></div></td></tr>
</table>
</td>
<td><img height='70px' src="https://i.postimg.cc/wBBY4r6F/Logo-Wholesale.png" alt="Adamo Wholesale" height='40px'></td>
</tr>
</table>
</tr>
<tr>
<td><span style='width:100%; height:10px; display:block;margin:12px 0; background: radial-gradient(107.14% 263.93% at -10.29% 63.68%, #FC7A00 10.33%, #F4B53F 100%);'> </span></td>
</tr>
<tr>
<td>
<p style="color:gray; font-size:10px;">Este e-mail se envía, de manera exclusiva, a la persona o entidad a la que se dirige y contiene información confidencial y sujeta al secreto profesional. Si recibe esta comunicación por error, agradeceremos que lo ponga en nuestro conocimiento
inmediatamente por teléfono o por email a info@adamo.es y que elimine este mensaje . Muchas gracias. This e-mail is intended only for the use of the individual or entity to which it is addressed and contains information which is privileged and
confidential. If you have received this communication in error, please notify us immediately by telephone or e-mail to info@adamo.es and destroy this message. Thank you. Aquest e-mail ha estat enviat per a l'ús exclusiu de la persona o entitat a
la qual s'adreça i conté informació confidencial i sotmesa al secret professional. Si ha rebut aquesta comunicació per error, li agrairem ho posi en el nostre coneixement immediatament per telèfon o per email a info@adamo.es i elimini aquest
missatge. Moltes gràcies.</p>
</td>
</tr>
</tbody>
</table>
<hr>
<table >
<tbody >
<tr>
<table width='100%'>
<tr style="">
<td width='80%'>
<table>
<tr>
<td><div style='font-size:12px;margin-top: 10px;font-family: "Montserrat" ,sans-serif; margin-bottom: -2px;'><b>First and Last Name</b></div></td>
</tr>
<tr><td style='font-size:10px;color:gray;font-family: "Montserrat" ,sans-serif;'><b>B2B</b></td></tr>
<tr>
<td><div style='font-size:12px;font-family: "Montserrat" ,sans-serif;'>
<b> Your.Name@adamo.es</b></div></td>
<td><span style=' margin: 0 10px;'><strong>⋅</strong></span></td>
<td><div style=' font-size:12px; font-family: "Montserrat" ,sans-serif;'><b>777.777.777</b></div></td><td><span style=' margin: 0 10px;'><strong>⋅</strong></span></td>
<td><div style=' font-size:12px; font-family: "Montserrat" ,sans-serif;'><b>777.777.777</b></div></td>
</tr>
<tr><td><div style='font-size:12px; font-family: "Montserrat" ,sans-serif; '><a style="text-decoration:none; color:black; " href="https://adamo.es/empresas"><b>www.adamo.es/empresas</b></a></div></td></tr>
</table>
</td>
<td><img height='70px' src="https://i.postimg.cc/7Zwk06dF/Logo-Business.png" alt="Adamo Empresas
" height='40px'></td>
</tr>
</table>
</tr>
<tr>
<td><span style='width:100%; height:10px; display:block;margin:12px 0; background: radial-gradient(209.44% 285.15% at 125.88% 56.34%, #6D55D1 0%, #F53663 60.97%, #EC8031 100%);
'> </span></td>
</tr>
<tr>
<td>
<p style="color:gray; font-size:10px;">Este e-mail se envía, de manera exclusiva, a la persona o entidad a la que se dirige y contiene información confidencial y sujeta al secreto profesional. Si recibe esta comunicación por error, agradeceremos que lo ponga en nuestro conocimiento
inmediatamente por teléfono o por email a info@adamo.es y que elimine este mensaje . Muchas gracias. This e-mail is intended only for the use of the individual or entity to which it is addressed and contains information which is privileged and
confidential. If you have received this communication in error, please notify us immediately by telephone or e-mail to info@adamo.es and destroy this message. Thank you. Aquest e-mail ha estat enviat per a l'ús exclusiu de la persona o entitat a
la qual s'adreça i conté informació confidencial i sotmesa al secret professional. Si ha rebut aquesta comunicació per error, li agrairem ho posi en el nostre coneixement immediatament per telèfon o per email a info@adamo.es i elimini aquest
missatge. Moltes gràcies.</p>
</td>
</tr>
</tbody>
</table>
<hr>
<table >
<tbody>
<tr>
<table width='100%'>
<tr style="">
<td width='80%'>
<table>
<tr>
<td><div style='font-size:12px;margin-top: 10px;font-family: "Montserrat" ,sans-serif; margin-bottom: -2px;'><b>First and Last Name</b></div></td>
</tr>
<tr><td style='font-size:10px;color:gray;font-family: "Montserrat" ,sans-serif;'><b>Marketing Residencial</b></td></tr>
<tr>
<td><div style='font-size:12px;font-family: "Montserrat" ,sans-serif;'>
<b>Your.Name@adamo.es</b></div></td>
<td><span style=' margin: 0 10px;'><strong>⋅</strong></span></td>
<td><div style=' font-size:12px; font-family: "Montserrat" ,sans-serif;'><b>777.777.777</b></div></td><td><span style=' margin: 0 10px;'><strong>⋅</strong></span></td>
<td><div style=' font-size:12px; font-family: "Montserrat" ,sans-serif;'><b>777.777.777</b></div></td>
</tr>
<tr><td><div style='font-size:12px; font-family: "Montserrat" ,sans-serif; '><a style="text-decoration:none; color:black; " href="https://adamo.es"><b>www.adamo.es</b></a></div></td></tr>
</table>
</td>
<td><img height='70px' src="https://i.postimg.cc/jScrXTrL/Logo-normal.png" alt="Adamo Residencial" max-height='40px'></td>
</tr>
</table>
</tr>
<tr>
<td><span style='width:100%; height:10px; display:block;margin:12px 0; background: radial-gradient(119.01% 198.08% at 112.7% 41.55%, #1CB261 0%, #00C7FF 32.29%, #734FD9 67.71%, #FC7A00 100%);
'> </span></td>
</tr>
<tr>
<td>
<p style="color:gray; font-size:10px;">Este e-mail se envía, de manera exclusiva, a la persona o entidad a la que se dirige y contiene información confidencial y sujeta al secreto profesional. Si recibe esta comunicación por error, agradeceremos que lo ponga en nuestro conocimiento
inmediatamente por teléfono o por email a info@adamo.es y que elimine este mensaje . Muchas gracias. This e-mail is intended only for the use of the individual or entity to which it is addressed and contains information which is privileged and
confidential. If you have received this communication in error, please notify us immediately by telephone or e-mail to info@adamo.es and destroy this message. Thank you. Aquest e-mail ha estat enviat per a l'ús exclusiu de la persona o entitat a
la qual s'adreça i conté informació confidencial i sotmesa al secret professional. Si ha rebut aquesta comunicació per error, li agrairem ho posi en el nostre coneixement immediatament per telèfon o per email a info@adamo.es i elimini aquest
missatge. Moltes gràcies.</p>
</td>
</tr>
</tbody>
</table>
hr {
margin: 50pt 0;
color: gray;
}
Also see: Tab Triggers