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.
<!--Navbar-->
<nav class="navbar navbar-toggleable-md navbar-dark fixed-top scrolling-navbar">
<div class="container">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav1" aria-controls="navbarNav1" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#">
<strong>Egwuenu Gift Ndudi</strong>
</a>
<div class="collapse navbar-collapse" id="navbarNav1">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#best-features">Portfolio</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!--/.Navbar-->
<!--Mask-->
<div class="view hm-black-strong">
<div class="full-bg-img flex-center">
<ul>
<li>
<h1 class="h1-responsive wow fadeInDown" data-wow-delay="0.1s">Egwuenu Gift Ndudi</h1></li>
<li>
<p class="wow fadeInDown">Aspiring Software Developer based in Lagos,Tech Enthusiast and Food Lover!</p>
</li>
<li>
<a target="_blank" href="https://twitter.com/lauragift21" class="btn btn-primary btn-lg wow fadeInLeft" data-wow-delay="0.2s" rel="nofollow">Follow me.</a>
<a target="_blank" href="https://github.com/lauragift21" class="btn btn-primary btn-lg wow fadeInRight" data-wow-delay="0.2s" rel="nofollow">Profile</a>
</li>
</ul>
</div>
</div>
<!--/.Mask-->
<!-- Main container-->
<div class="container">
<div class="divider-new">
<h2 class="h2-responsive wow fadeIn" data-wow-delay="0.2s">About</h2>
</div>
<!--Section: About-->
<section id="about" class="text-center wow fadeIn" data-wow-delay="0.1s">
<p>Egwuenu Gift Ndudi is passionate about software development and its technologies. she strives to gain knowledge about the growth of technology in Nigeria. She has interests in Front-End Development,Mobile App Dev and Graphics Designs.Web Developer based in Lagos.</p>
</section>
<!--Section: About-->
<div class="divider-new">
<h2 class="h2-responsive wow fadeIn">Services</h2>
</div>
<!--Section: Best features-->
<section id="best-features">
<div class="row">
<!--First columnn-->
<div class="col-lg-4">
<!--Card-->
<div class="card wow fadeIn">
<!--Card image-->
<div class="view overlay hm-white-slight">
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20(25).jpg" class="img-fluid" alt="">
<a>
<div class="mask"></div>
</a>
</div>
<!--/.Card image-->
<!--Card content-->
<div class="card-block text-center">
<!--Title-->
<h4 class="card-title">Website Development </h4>
<hr>
<!--Text-->
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident fuga animi architecto dolores dicta cum quo velit.</p>
</div>
<!--/.Card content-->
</div>
<!--/.Card-->
</div>
<!--First columnn-->
<!--Second columnn-->
<div class="col-lg-4">
<!--Card-->
<div class="card wow fadeIn" data-wow-delay="0.2s">
<!--Card image-->
<div class="view overlay hm-white-slight">
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20(14).jpg" class="img-fluid" alt="">
<a>
<div class="mask"></div>
</a>
</div>
<!--/.Card image-->
<!--Card content-->
<div class="card-block text-center">
<!--Title-->
<h4 class="card-title">Mobile App Development</h4>
<hr>
<!--Text-->
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident fuga animi architecto dolores dicta cum quo velit.</p>
</div>
<!--/.Card content-->
</div>
<!--/.Card-->
</div>
<!--Second columnn-->
<!--First columnn-->
<div class="col-lg-4">
<!--Card-->
<div class="card wow fadeIn" data-wow-delay="0.6s">
<!--Card image-->
<div class="view overlay hm-white-slight">
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20(37).jpg" class="img-fluid" alt="">
<a>
<div class="mask"></div>
</a>
</div>
<!--/.Card image-->
<!--Card content-->
<div class="card-block text-center">
<!--Title-->
<h4 class="card-title">Seo & Marketing</h4>
<hr>
<!--Text-->
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident fuga animi architecto dolores dicta cum quo velit.</p>
</div>
<!--/.Card content-->
</div>
<!--/.Card-->
</div>
<!--First columnn-->
</div>
</section>
<!--/Section: Best features-->
<div class="divider-new">
<h2 class="h2-responsive wow fadeIn">Contact us</h2>
</div>
<!--Section: Contact-->
<section id="contact">
<div class="row">
<!--First column-->
<div class="col-md-8">
<div id="map-container" class="z-depth-1 wow fadeIn" style="height: 300px"></div>
</div>
<!--/First column-->
<!--Second column-->
<div class="col-md-4">
<ul class="text-center">
<li class="wow fadeIn" data-wow-delay="0.2s"><i class="fa fa-map-marker teal-text"></i>
<p>Lagos, Nigeria</p>
</li>
<li class="wow fadeIn" data-wow-delay="0.3s"><i class="fa fa-phone teal-text"></i>
<p>+ 234 9053 013 183</p>
</li>
<li class="wow fadeIn" data-wow-delay="0.4s"><i class="fa fa-envelope teal-text"></i>
<p>laurandidi21@gmail.com</p>
</li>
</ul>
</div>
<!--/Second column-->
</div>
</section>
<!--Section: Contact-->
</div>
<!--/ Main container-->
<!--Footer-->
<footer class="page-footer center-on-small-only">
<!--Footer Links-->
<div class="container-fluid">
<div class="row">
<!--First column-->
<div class="col-md-3 offset-lg-1 hidden-lg-down">
<h5 class="title">ABOUT Me</h5>
<p>Web Developer Enthusiast</p>
</div>
<!--/.First column-->
<hr class="hidden-md-up">
<!--Second column-->
<!-- <div class="col-lg-2 col-md-4 offset-lg-1">
<h5 class="title">Our Projects</h5>
<ul>
<li><a href="#!">Jeffs Bike Shop</a></li>
<li><a href="#!">Main Street Restaurant</a></li>
<li><a href="#!">Connect Groceries</a></li>
<li><a href="#!">White-To-Black Coffe Shop</a></li>
</ul>
</div> -->
<!--/.Second column-->
<hr class="hidden-md-up">
<!--Third column-->
<!-- <div class="col-lg-2 col-md-4">
<h5 class="title">Useful Resources</h5>
<ul>
<li><a href="#!">2016 Advertising Report</a></li>
<li><a href="#!">Best NY Agencies</a></li>
<li><a href="#!">Trends for 2017</a></li>
<li><a href="#!">World Advertisement Report</a></li>
<a type="button" class="btn-floating btn-large btn-fb"><i class="fa fa-facebook"></i></a>
</ul>
</div> -->
<!--/.Third column-->
<hr class="hidden-md-up">
<!--Fourth column-->
<div class="col-lg-2 col-md-4">
<h5 class="title">Find Me on</h5>
<ul>
<li><a href="www.facebook.com/egwuenugift">Facebook</a></li>
<li><a href="www.twitter.com/lauragift21">Twitter</a></li>
<li><a href="www.LinkedIn.com">LinkedIn</a></li>
</ul>
</div>
<!--/.Fourth column-->
</div>
</div>
<!--/.Footer Links-->
<hr>
<!--Call to action-->
<!-- <div class="call-to-action">
<h4>Material Design for Bootstrap</h4>
<ul>
<li>
<h5>Get our UI KIT for free</h5></li>
<li><a target="_blank" href="https://mdbootstrap.com/getting-started/" class="btn btn-info" rel="nofollow">Sign up!</a></li>
<li><a target="_blank" href="https://mdbootstrap.com/material-design-for-bootstrap/" class="btn btn-default" rel="nofollow">Learn more</a></li>
</ul>
</div> -->
<!--/.Call to action-->
<!--Copyright-->
<div class="footer-copyright">
<div class="container-fluid">
© 2017 Copyright: <a href="#"> @lauragift21 </a>
</div>
</div>
<!--/.Copyright-->
</footer>
<!--/.Footer-->
</body>
</html>
html,
body,
.view {
height: 100%;
}
/* Navigation*/
.navbar {
background-color: transparent;
}
.scrolling-navbar {
-webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
-moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
transition: background .5s ease-in-out, padding .5s ease-in-out;
}
.top-nav-collapse {
background-color: #3c4f74;
}
footer.page-footer {
background-color: #3c4f74;
margin-top: 2rem;
}
@media only screen and (max-width: 768px) {
.navbar {
background-color: #1C2331;
}
}
/*Call to action*/
.flex-center {
color: #fff;
}
.view {
background: url("https://mdbootstrap.com/img/Photos/Horizontal/Work/full page/img%20(2).jpg")no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
/*Contact section*/
#contact .fa {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #1C2331;
}
new WOW().init();
Also see: Tab Triggers