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.
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body id="main">
<div class="container-fluid">
<div class="row">
<div class="col-xl-2 col-lg-1 col-md-1 hidden-xs">
</div>
<div class=" col-xl-8 col-lg-10 col-md-10 col-xs-12 ">
<div id="headwidth" class="bgwht">
<div id="mainimg">
<img src="https://media.glassdoor.com/sql/271522/robert-michael-communications-rmc-squarelogo-1525769050530.png" />
</div>
<div id="title">
ROBERT MICHAEL COMMUNICATIONS
</div>
<div id="blockright"></div>
</div>
</div>
<div class="col-xl-2 col-lg-1 col-md-1 hidden-xs">
</div>
</div>
<div class="row">
<div class="col-xl-2 col-lg-1 col-md-1 hidden-xs"></div>
<div id="img-div" style="text-align:center" class="col-xl-8 col-lg-10 col-md-10 col-xs-12">
<img id="image" src="https://rmcom.net/images/services-595.jpg">
<div id="img-caption" class="bgwht">"RMC Corporate Branding"
</div>
</div>
<div class="col-xl-2 col-lg-1 col-md-1 hidden-xs"></div>
</div>
<div class="row">
<div class="col-xl-2 col-lg-1 col-md-1 hidden-xs"></div>
<div class="col-xl-8 col-lg-10 col-md-10 col-xs-12">
<div class="bgwht" id="bodytxt">
<h2 style="color:#0071bc; text-align:center">About RMC</h2>
<p id="tribute-info" style="padding-bottom:20px">RMC Inc. is a healthcare communications company that offers shared services to RMEI Medical Education, LLC, an independent medical education company, and HealthCare Alliance Group, LLC, a full-service medical communications company. Their corporate office, based just outside of the Philadelphia metropolitan area in Voorhees, New Jersey, is an exciting and rewarding professional work environment that encourages personal growth and advancement.
<h3 style="color:#0071bc; text-align:center">Professional Core Values</h3>
<ul>
<li>
<b>ACCOUNTABILITY</b>
A commitment to taking responsibility for one’s own actions
</li>
<li>
<b>COMPASSION</b>
A genuine understanding and consideration of others’ perspectives
</li>
<li>
<b>EXCELLENCE</b>
A dedication to delivering the highest quality and value
</li>
<li>
<b>INNOVATION</b>
An encouragement of curiosity that leads to better solutions
</li>
<li>
<b>INTEGRITY</b>
An adherence to ethical principles through transparency and honesty
</li>
</ul>
<h3 style="color:#0071bc; text-align:center">Other Information</h3>
<ul>
<li>
RMC has been a viable company for 25+ years growing larger and larger.
</li>
<li>
The RMC Meeting Services Team consists of skilled Certified Meeting Professionals (CMP) who are experienced with individual corporate and industry-wide guidelines in a rapidly changing healthcare communications environment. We organize a wide range of programs and events for our clients on a daily basis ensuring adherence to external, internal and geographical guidelines. The staff at RMC focuses on the objectives set for meetings and handles the logistics precisely, from beginning to end.
</li>
<li>
The RMC Creative Services Team is staffed with talented, experienced professionals. We provide creative design and production services for each program using custom medical illustrations and graphics that enhance the delivery of the scientific content and messaging. Our program materials are fresh, interesting, and attractive.
</li>
<li>
The RMC IT/Digital Services Team all understand that technology is an extremely important part of medical communications. Our digital services experts keep current on new technology and work closely with our creative and scientific services teams to create the most innovative technology programming available.
</li>
<li>
The RMC Fulfillment Services Team handles all aspects of shipping and receiving as well as global transportation logistics. The team maintains control of inventory for project supplies, ARS and computer equipment for all company events. We also print and assemble program materials for educational programs worldwide.
</li>
</ul>
</p>
<p style="padding-bottom:50px; text-align:center">Click below to learn more about RMC Inc.'s affiliates.</p>
<div class="flexer">
<a id="tribute-link" href="https://rmei.com/" target="_blank"> <img src="https://rmcom.net/templates/forte/images/logos/RMEI_small.png"></a>
<a id="tribute-link" href="https://hcagroup.com/" target="_blank"><img src="https://rmcom.net/templates/forte/images/logos/HCA_small.png"></a>
</div>
</div>
</div>
<div class="padding-0 col-xl-2 col-lg-1 col-md-1 hidden-xs"></div>
</div>
<footer class="row">
<div class="padding-0 col-xl-2 col-lg-1 col-md-1 hidden-xs"></div>
<div class="col-xl-8 col-lg-10 col-md-10 col-xs-12">
<div class="footinfo">
Copyright © 2019. Robert Michael Communications, Inc. All Rights Reserved.</br>
Address: 101 Laurel Rd, Voorhees Township, NJ 08043</br>
Phone: (856) 547-4141</div></div>
<div class="padding-0 col-xl-2 col-lg-1 col-md-1 hidden-xs"></div>
</footer>
</div>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>
#main{
background-image:url("https://rmcom.net/templates/forte/images/backgrounds/subpage-bkg-style1.jpg");
background-repeat: no-repeat;
background-size:cover;
}
#title{
padding: 26px 0px;
font-family: "Times New Roman", Times, serif;
font-size:30px;
color:#0071bc;
}
#img-caption{
padding-top:10px;
}
#tribute-info{
text-align:left;
}
#headwidth{
display:flex;
justify-content:space-between;
flex-wrap:nowrap;
flex-direction:row;
}
.bgred{background-color:red}
.bgwht{
background-color:white;
}
.container {
display: flex; /* or inline-flex */
}
.padding-0{
padding-right:0 !important;
padding-left:0 !important;
}
.flexer{
display:flex;
justify-content:space-evenly;
flex-wrap:wrap;
flex-direction:row;
}
#image{
max-width:100%;
height:auto;
display:block;
}
#mainimg{
width:100px;
height:100px;
}
#mainimg img{
max-width:100%;
max-height:100%;
display:block;
}
.footinfo{
color:#fff;
background-color:#222;
text-align:center;
padding:20px;
font-size:10px
}
#blockright{
width:100px;
}
#bodytxt{
padding:50px 75px 40px 75px;
}
li{
padding:0px 0px 20px 0px
}
ul{
padding: 0px 175px;
}
@media only screen and (max-width: 480px) {
.name{
font-size:26px;
}
#bodytxt{
padding:50px 20px 40px 20px;
}
}
@media only screen and (max-width:1000px){
#mainimg{
display:none;
}
#blockright{
display:none;
}
#title{
text-align:center;
width:100%;
}
ul{
padding:0px 30px
}
}
@media only screen and (max-width:860px){
.flexer img{
padding:0px 0px 50px 0px;
}
}
@media only screen and (max-width: 630px) {
.col-xs-12{
padding-left:0px !important;
padding-right:0px !important;
}
}
Also see: Tab Triggers