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.
<div class="container">
<section id="intro">
<div class="row text-center">
<div class="col-12">
<h2 class="HeaderA-Level2 pb-1 pt-5">Web Security Powered By Comodo</h2>
<div class="FeatureText-Level2 pb-3">Benefit from Innovative Technology and 20+ Years of Cyber Security Expertise</div>
<p class="p-regular pb-3">Designed by Comodo, a leader in cyber security protection and intelligence solutions, cWatch Web is the only solution on the market to combine a completely mature and proven web security stack that’s
fully managed by human expertise, analysis and insight.</p>
<p class="p-regular">
Comodo has spent years building its foundation to ensure interactions online have a built-in layer of
safety, security and trust—that’s now all in the DNA of cWatch Web. Thousands of companies already
rely on <a href="">Comodo and its family of technologies</a> to secure all of their web assets to outflank online
threats and cyber-attacks that continually wreak havoc across the globe. Unlike all of cWatch Web's
competition, it's the only solution powered by a real security company.
</p>
</div>
</div>
</section>
</div>
<div id= "hero" class="container-fluid">
<div class="hero">
</div>
</div>
<div class="container">
<section id="about-comodo" class="pb-5">
<div class="row text-center">
<div class="col-12">
<p class="HeaderA-Level2 pb-1 pt-5">Here’s What Comodo Is Known For...</p>
</div>
<div class="col-md-5 "></div>
<div class="col-md-7 text-center">
<p class="HeaderB-Level4">Identity Authentication</p>
<p class="p-regular">Since authentication is the heart of a trusted relationship, authenticating individuals, businesses, websites and content has always been at the core of Comodo products, like: EV SSL Certificates, Secure Email, Two-Factor Authentication, Code Signing Certificates, Verification Engine and Content Verification Certificates.</p>
</div>
</div>
</section>
</div>
<div id= "stats" class="container-fluid">
<section class="pb-5">
<div class="container">
<div class="row text-center">
<div class="col-12">
<h2 class="HeaderA-Level2 pb-3 pt-5">Exceeding Tomorrow’s Challenges</h2>
<p class="p-regular pb-3">Comodo is Creating Trust Online® in over 100+ countries worldwide. To experience the full potential of the internet, it must be safe, secure and a trusted place to interact and conduct business. Dependency on computers and internet connectivity increases every day, and so do vulnerabilities and threats. Comodo is completely committed to its role of providing the right tools & technology for individuals and businesses to obtain maximum trust online. Here’s how:</p>
</div>
</div>
<div class="row text-center">
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">25M<span>+</span><span>Anti-Virus Installations</span></span></div>
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">50M<span>+</span><span>Internet Users</span></span></div>
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">700K<span>Business Customers</span></span></div>
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">2M<span>+</span><span>Digital Certificates</span></span></div>
</div>
<div class="row text-center">
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">8K<span>+</span><span>Partners & Affiliates</span></span></div>
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">1000<span>+</span><span>Global Employees</span></span></div>
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">100%<span>Privately Owned</span></span></div>
<div class="col-6 col-lg-3 pb-5"><span class="HeaderA-Level1">1998<span>Founding Year</span></span></div>
</div>
</div>
</section>
</div>
<div class="container">
<section id="real-value">
<div class="row text-center">
<div class="col-12">
<h2 class="HeaderA-Level2 pb-1 pt-5">cWatch Web Delivers Real Value</h2>
<div class="FeatureText-Level2 pb-3">Comodo’s Cloud-Based Way to Keep Your Website & Applications Safe</div>
<p class="p-regular pb-3">In order to succeed, you need to remain focused on your core offerings. Businesses like yours need a quick, easy and affordable solution to stay ahead of threats and protect their precious online presence. Thankfully, cWatch Web leverages Comodo’s state-of-the-art technology and intelligence to completely safeguard your website or applications while also using Comodo’s human expertise to manually intervene at any sign of a threat to respond, fix, mitigate or eliminate accordingly. Buy cWatch Web today to eliminate fear, uncertainty and disruption.</p>
<h2 class="HeaderA-Level3 pb-5 pt-0">cWatch Web Benefits Your Business With:</h2>
</div>
</div>
<div class="row text-center px-2">
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-clock.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-clock.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">24/7/365 <span> </span> Security & Monitoring</div>
<div class="p-small pb-5 icon">Comodo’s well-trained security experts keep 24/7 vigil over your website.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-money.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-money.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">Reduced IT <span> </span> Risks & Costs</div>
<div class="p-small pb-5 icon">Instant protection with no expensive hardware to buy or staff to hire & train.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-shield.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-shield.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">Improved Protection From Attacks</div>
<div class="p-small pb-5 icon">Defense against DDoS, malware, viruses, breaches and the entire OWASP Top 10.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-recovery.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-recovery.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">Established Recovery Plans & Protocols</div>
<div class="p-small pb-5 icon">Finally have somewhere to turn <span> </span>and a plan in place if the inevitable happens.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-rpm.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-rpm.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">Boosted Website Speed & SEO Ratings</div>
<div class="p-small pb-5 icon">Serve your content to customers faster and more efficiently. Google loves it!</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-cloudserver.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-cloudserver.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">SaaS Simplicity <span> </span>& Scalability</div>
<div class="p-small pb-5 icon">Enjoy the benefits and convenience of Security-as-a-Service no matter the scale.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-plans.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-plans.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">Uncomplicated <span> </span>Pricing Plans</div>
<div class="p-small pb-5 icon">No hidden costs or fees. All your website security needs are met for one low rate.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-guarantee.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-guarantee.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">30-Day Satisfaction Guarantee</div>
<div class="p-small pb-5 icon">Not satisfied? Just cancel within 30 days and you’ll get a complete refund.</div>
</div>
<div class="col-12 col-md-6 col-lg-4 icon">
<div class="d-none d-lg-inline">
<div class="sm">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/small-icon-setup.svg">
</div>
</div>
<div class="d-inline d-lg-none">
<div class="md">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/medium-icon-setup.svg">
</div>
</div>
<div class="HeaderB-Level5 pb-2 mx-3">Easy to Set Up <span> </span>and Install</div>
<div class="p-small pb-5 icon">Installation is easy, just update <span> </span>your DNS record and your site is secure!</div>
</div>
</div>
</section>
</div>
<div class="container">
<section id="cta">
<div class="row pb-4 text-center">
<div class="col-12">
<div class="HeaderB-Level4">
Enhance Web Security and Performance with cWatch Web
</div>
</div>
</div>
<div class="row text-center">
<div class="col-12 pb-3">
<button class="btn btn-primary mr-3">See All Service Packages</button><button class="btn btn-secondary">Click to Chat</button>
<div class="FeatureText-Level3 pt-3">
Speak to a cWatch Web Team Member Today
</div>
<div class="pt-2 pb-5">
<a class="phone" href="tel:+01-888-481-5388" rel="nofollow">1 (888) 481-5388</a>
</div>
</div>
</div>
</section>
</div>
//colors
$blue: #1976cc;
$dark-grey: #444452;
$light-blue: #6ec0ff;
$royal-blue: #194690;
$white: #fff;
@mixin blue {color: $blue;}
@mixin dark-grey {color: $dark-grey}
@mixin light-blue {color: $light-blue}
@mixin royal-blue {color: $royal-blue}
@mixin white {color: $white}
//helpers
@mixin max-width($width) {
max-width: $width;
margin-left:auto;
margin-right:auto;
}
//xs / default
html, body {
font-size: 17px;
font-family: "Lato", sans-serif;
.container, .container-fluid {
@include dark-grey;
.row {
.p-regular {
-moz-hyphens: none;
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
line-height: 1.700rem;
}
.HeaderA-Level1 {
font-family: 'Work Sans';
font-size: 3.157rem;
font-weight: 100;
line-height: 3.5rem;
}
.HeaderA-Level2 {
font-family: 'Work Sans';
font-size: 2.369rem;
font-weight: 300;
line-height: 2.750rem;
}
.HeaderA-Level3 {
font-family: 'Work Sans';
font-size: 1.777rem;
font-weight: 300;
line-height: 2rem;
}
.FeatureText-Level2 {
font-family: 'Montserrat';
font-style: italic;
font-size: 1 rem;
font-weight: 500;
letter-spacing: 0.09rem;
line-height: 1.650rem;
@include blue
}
.FeatureText-Level3 {
font-family: 'Montserrat';
font-style: italic;
font-size: 0.750rem;
font-weight: 500;
letter-spacing: 0.09rem;
line-height: 1.350rem;
}
.HeaderB-Level4 {
font-family: 'Montserrat';
font-size: 1.333rem;
font-weight: 500;
letter-spacing: 0.03rem;
line-height: 1.850rem;
}
.HeaderB-Level5 {
font-family: 'Montserrat';
font-size: 1rem;
font-weight: 600;
line-height: 1.5rem;
letter-spacing: 0.05rem;
}
.p-small {
font-size:0.850rem;
line-height: 1.300rem;
}
}
//links
a {
text-decoration:underline;
@include blue;
padding:4px;
&:hover {
text-decoration:none;
}
&:visited {
@include royal-blue;
}
}
.phone {
font-family: 'Work Sans';
font-size: 1.333rem;
font-weight: 600;
letter-spacing: 0rem;
line-height: 1.850rem;
@include blue;
text-decoration:underline;
&:hover {text-decoration: none;cursor:pointer;}
}
}
//responsive buttons
.btn, .btn-primary {
font-family: 'Montserrat';
font-size:0.750rem;
text-transform:uppercase;
font-weight:600;
letter-spacing:0.09rem;
line-height: 0rem;
background-color: $blue;
border: 2px solid $blue;
display:block;
border-radius:50px;
padding-top: 18px;
padding-bottom: 18px;
width: 100%;
margin-top:1em;
&:hover {
background-color: $royal-blue;
border: 2px solid $royal-blue;
}
}
.btn-secondary {
background-color: $white;
border: 2px solid $blue;
@include blue;
&:hover {
background-color: $blue;
border: 2px solid $blue;
}
}
//images-icons
.sm {
width:50px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0.5rem;
}
.md {
width:100px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0.5rem;
}
//images-hero
.hero {
height: 420px;
@include max-width(1500px);
background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/229855/comodo-headquarters.svg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: scroll;
background-size: cover;
}
//custom
#stats {
background: linear-gradient(180deg, $dark-grey 30%, #2765a3 100%);
padding: 3rem 0 2rem 0;
.p-regular, .HeaderA-Level1, .HeaderA-Level2 {
@include white;
}
.HeaderA-Level1 span {
font-size:2.5rem;
&:last-child {
font-size:1rem;
line-height:1rem;
float:left;
display:block;
width:100%;
}
}
}
}
// Small devices (576px and up)
@media (min-width: 576px) {
html, body {
font-size: 18px;
.container .row .HeaderA-Level2, .container .row .HeaderA-Level3, .container-fluid .row .HeaderA-Level2 {
font-weight: 100;
}
#intro .p-regular, #stats .p-regular {
@include max-width(495px);
}
#about-comodo .p-regular, #real-value .icon {
@include max-width(420px);
}
.btn {
display:inline-block;
width: auto;
margin-top:0;
padding: 18px 28px;
font-size:0.600rem;
}
}
}
// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {
html, body {
#intro .p-regular, #about-comodo .p-regular, #about-comodo .HeaderB-Level4 {
@include max-width(700px);
}
#stats .p-regular {
@include max-width(700px);
}
#about-comodo .p-regular, #about-comodo .HeaderB-Level4 {
text-align: left;
}
#cta .HeaderB-Level4 {
@include max-width(550px);
}
}
}
// Large devices (desktops, 992px and up)
@media (min-width: 992px) {
html body {
#intro .p-regular {
@include max-width(880px);
}
#stats .p-regular {
@include max-width(920px);
}
#real-value .p-regular {
@include max-width(910px);
}
#cta .HeaderB-Level4 {
@include max-width(934px);
}
#real-value .icon div {
@include max-width(269px);
}
}
}
// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {
html, body {
font-size: 20px;
#real-value .row {
@include max-width(1040px);
}
//to create line break in headings
#real-value .icon div:nth-child(3) span {display:block;}
//to create line break in p-small
#real-value .icon div:nth-child(4) span {display:block;}
}
}
Also see: Tab Triggers