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.
<nav class="navbar navbar-inverse navbar-fixed-top transparent">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="https://www.eddyerburgh.me/" target="newwindow">Varun Inagle</a>
</div> <!-- .navbar-header -->
<div class="collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="#about">About</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div> <!-- .navbar-collapse -->
</div> <!-- .container -->
</nav>
<main data-spy="scroll" data-target=".navbar" data-offset="50">
<div class="jumbotron photo-cover text-inverse">
<div class="col-md-6 text-center center">
<h1>Varun Ingale</h1>
<p >Software engineer</p>
<a href="#about">
<span class="fui-triangle-down large"></span>
</a>
</div> <!-- .col-md-6 -->
</div> <!-- .jumbotron -->
<div id="about" class="jumbotron">
<div class="container">
<div class="row">
<div class=" col-md-8 col-md-offset-2 text-center">
<h2>About</h2>
<hr>
<p class="lead">
Hi, my name's Varun - I'm a Software engineer and wipro core team member
</p>
<p>
As a software developer, I thrive on turning ideas into functional and efficient solutions. With a keen eye for detail and a passion for problem-solving, I enjoy delving into complex algorithms and code structures to create software that not only meets but exceeds expectations. My expertise spans across various programming languages and frameworks, allowing me to adapt to diverse projects and contribute effectively to teams. I am driven by continuous learning and innovation, always seeking new challenges to push the boundaries of what technology can achieve.
</p>
</div> <!-- .col-md-8 -->
</div> <!-- .row -->
</div> <!-- .container -->
</div> <!-- #about -->
<div id="portfolio" class="jumbotron background-primary text-inverse">
<div class="container">
<div class="row">
<h2 class="text-center">Portfolio</h2>
<hr>
<div class="col-xs-6 col-md-3">
<a class="thumbnail" page="avoriaz">
<svg aria-hidden="true" class="thumbnail-svg" data-prefix="fas" data-icon="vial" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 512" class="svg-inline--fa fa-vial fa-w-15 fa-3x"><path fill="currentColor" d="M477.7 186.1L309.5 18.3c-3.1-3.1-8.2-3.1-11.3 0l-34 33.9c-3.1 3.1-3.1 8.2 0 11.3l11.2 11.1L33 316.5c-38.8 38.7-45.1 102-9.4 143.5 20.6 24 49.5 36 78.4 35.9 26.4 0 52.8-10 72.9-30.1l246.3-245.7 11.2 11.1c3.1 3.1 8.2 3.1 11.3 0l34-33.9c3.1-3 3.1-8.1 0-11.2zM318 256H161l148-147.7 78.5 78.3L318 256z" class=""></path></svg>
<div class="thumbnail-overlay" page="avoriaz">
<span class="glyphicon glyphicon-info-sign text-inverse large center"></span>
</div>
</a>
</div> <!-- .col-md-3 -->
<div class="col-xs-6 col-md-3">
<a class="thumbnail" page="vue-test-utils">
<svg aria-hidden="true" class="thumbnail-svg" data-prefix="fab" data-icon="vuejs" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-vuejs fa-w-14 fa-3x"><path fill="currentColor" d="M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z" class=""></path></svg>
<div class="thumbnail-overlay" page="vue-test-utils">
<span class="glyphicon glyphicon-info-sign text-inverse large center"></span>
</div>
</a>
</div> <!-- .col-md-3 -->
<div class="col-xs-6 col-md-3">
<a class="thumbnail" page="book">
<svg aria-hidden="true" class="thumbnail-svg" data-prefix="fas" data-icon="book" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-book fa-w-14 fa-3x"><path fill="currentColor" d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z" class=""></path></svg>
<div class="thumbnail-overlay" page="book">
<span class="glyphicon glyphicon-info-sign text-inverse large center"></span>
</div>
</a>
</div> <!-- .col-md-3 -->
<div class="col-xs-6 col-md-3">
<a class="thumbnail" page="blog">
<svg class="thumbnail-svg" aria-hidden="true" data-prefix="fas" data-icon="rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-rss fa-w-14 fa-3x"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z" class=""></path></svg>
<div class="thumbnail-overlay" page="blog">
<span class="glyphicon glyphicon-info-sign text-inverse large center"></span>
</div>
</a>
</div> <!-- .col-md-3 -->
</div> <!-- .row -->
</div> <!-- .container -->
</div> <!-- #portfolio -->
<div id="contact" class="jumbotron">
<div class="container">
<div class="col-md-8 col-md-offset-2 text-center">
<h2 class="">Get In Touch</h2>
<hr>
<form action="mailto:edward.yerburgh@gmail.com" enctype="text/plain" method="post">
<div class="form-group">
<label for="InputEmail">Email address</label>
<input type="email" class="form-control" id="InputEmail" placeholder="Email">
</div> <!-- .form-group -->
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" class="form-control" rows="3"></textarea>
</div> <!-- .form-group -->
<input type="submit" name="submit" class="btn btn-inverse">
</form>
</div> <!-- .col-md-8 -->
</div> <!-- .container -->
</div> <!-- #contact -->
<div class="text-center text-inverse navbar-inverse">
<div class="container">
<div class="row">
<div class="footer-col col-md-4">
<h3>Location</h3>
<p>Pune</p>
</div> <!-- .footer-col -->
<div class="footer-col col-md-4">
<h3>Connect With Me</h3>
<ul class="list-inline">
<li>
<a class="medium" href="https://github.com/eddyerburgh" target="newwindow"><span class="fui-github"></span></a>
</li>
<li>
<a class="medium" href="https://www.linkedin.com/in/edd-yerburgh-74aa5768" target="newwindow"><span class="fui-linkedin"></span></a>
</li>
<li>
<a class="medium" href="https://twitter.com/EddYerburgh" target="newwindow"><span class="fui-twitter"></span></a></a>
</li>
</ul>
</div> <!-- .footer-col -->
<div class="footer-col col-md-4">
<h3>Hire Me</h3>
<p>I'm available for workshops</p>
</div> <!-- .footer-col -->
</div> <!-- .row -->
</div> <!-- .container -->
<div class="background-secondary">
<div class="container">
<div class="row">
<div class="col-lg-12">
Copyright ©varun.ingale 2024
</div> <!-- .col-lg-12 -->
</div> <!-- .row -->
</div> <!-- .container -->
</div> <!-- .background-secondary -->
</div> <!-- -->
<div id="avoriaz" class="full-screen">
<div class="container">
<div class="col-md-6 text-center center">
<div class="row">
</div> <!-- .row -->
<p class="lead">avoriaz is Vue testing utility library.</p>
<hr>
<div class="row">
<div class="col-md-3 col-md-offset-3">
<a class="btn-inverse btn-block btn-lg" target="_blank" href="https://github.com/eddyerburgh/avoriaz">View</a>
</div> <!-- .col-md-6 -->
<div class="col-md-3">
<a class="btn-danger btn-lg close-window btn-block">Close</a>
</div> <!-- .col-md-6 -->
</div> <!-- .row -->
</div> <!-- .col-md-6 -->
</div> <!-- .container -->
</div> <!-- .full-screen -->
<div id="vue-test-utils" class="full-screen">
<div class="container">
<div class="col-md-6 text-center center">
<div class="row">
</div> <!-- .row -->
<p class="lead">
The official Vue testing library.
</p>
<p>
I'm the lead author and maintainer of Vue Test Utils.
</p>
<hr>
<div class="row">
<div class="col-md-3 col-md-offset-3">
<a class="btn-inverse btn-block btn-lg" target="newwindow" href="https://github.com/vuejs/vue-test-utils">View</a>
</div> <!-- .col-md-6 -->
<div class="col-md-3">
<a class="btn-danger btn-lg close-window btn-block">Close</a>
</div> <!-- .col-md-6 -->
</div> <!-- .row -->
</div> <!-- .col-md-6 -->
</div> <!-- .container -->
</div> <!-- .full-screen -->
<div id="book" class="full-screen">
<div class="container">
<div class="col-md-6 text-center center">
<div class="row">
</div> <!-- .row -->
<p class="lead">Testing Vue.js Applications</p>
<p>
Learn how to test Vue.js applications with my book.</p>
<hr>
<div class="row">
<div class="col-md-3 col-md-offset-3">
<a class="btn-inverse btn-block btn-lg" target="_blank" href="https://www.manning.com/books/testing-vue-js-applications">View</a>
</div> <!-- .col-md-6 -->
<div class="col-md-3">
<a class="btn-danger btn-lg close-window btn-block">Close</a>
</div> <!-- .col-md-6 -->
</div> <!-- .row -->
</div> <!-- .col-md-6 -->
</div> <!-- .container -->
</div> <!-- .full-screen -->
<div id="blog" class="full-screen">
<div class="container">
<div class="col-md-6 text-center center">
<div class="row">
</div> <!-- .row -->
<p class="lead">
My personal blog
</p>
<hr>
<div class="row">
<div class="col-md-3 col-md-offset-3">
<a class="btn-inverse btn-block btn-lg" target="_blank" href="https://eddyerburgh.me/">View</a>
</div> <!-- .col-md-6 -->
<div class="col-md-3">
<a class="btn-danger btn-lg close-window btn-block">Close</a>
</div> <!-- .col-md-6 -->
</div> <!-- .row -->
</div> <!-- .col-md-6 -->
</div> <!-- .container -->
</div> <!-- .full-screen -->
</main>
$primary-color: #34495e;
$primary-color-shadow: #2c3e50;
$secondary-color: #1abc9c;
html,
body,
main {
height: 100%;
}
::selection {
background: $primary-color;
color: #fff;
}
// Jumbotrons
.jumbotron {
// Stops gaps between jumbotrons
padding-top: 150px;
padding-bottom: 150px;
margin-bottom: 0;
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.photo-cover {
background: #34495e url(https://static.pexels.com/photos/36487/above-adventure-aerial-air-large.jpg) no-repeat center center / cover fixed;
height: 100%;
position: relative;
}
.background-primary {
background: $primary-color;
}
.background-secondary {
background: $primary-color-shadow;
}
.large {
font-size: 4em;
}
.medium {
font-size: 2em;
}
/* Header */
.transparent {
background: transparent;
}
.navbar-inverse {
transition: all 0.2s ease-in;
}
// Portfolio
.thumbnail {
cursor: pointer;
position: relative;
display: flex;
}
.thumbnail-svg {
flex: 1 0 auto;
padding: .5em;
max-height: 6em;
}
.thumbnail-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: $secondary-color;
opacity: 0;
transition: all 0.2s ease-in;
}
.thumbnail:hover .thumbnail-overlay {
opacity: 1;
transition: all 0.2s ease-in;
}
// Projects Pages
.full-screen {
background: #eee;
height: 100%;
width: 100%;
position: fixed;
top: 0;
left: 0;
display: none;
// Avoids leaving portfolio screen stuck up
overflow-y: scroll;
}
.close-window {
cursor: pointer;
}
// Smooth Scrolling for internal links
$('a[href^="#"]').on("click",function (e) {
e.preventDefault();
var target = this.hash;
var $target = $(target);
$("html, body").stop().animate({
"scrollTop": $target.offset().top
}, 900, 'swing', function () {
window.location.hash = target;
});
});
// Change background of nav bar on scroll
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll > window.innerHeight - 55) {
$(".navbar").removeClass("transparent");
} else {
$(".navbar").addClass("transparent");
}
});
// Activate scrollspy to highlight nav item when scrolled over
$("body").scrollspy({target: ".navbar"})
// Bind events to open and close portfolio popups
$(".thumbnail-overlay").on("click", openProject.bind( this ))
$(".close-window").on("click", closeWindow.bind(this))
function openProject( event ) {
if ( $(event.target).next(".thumbnail-overlay") ) {
var id = "#" + $(event.target).parent().attr("page");
$(id).fadeIn()
} else {
var id = "#" + $(event.target).attr("page");
$(id).fadeIn()
}
}
function closeWindow( event ) {
$(event.target).parents(".full-screen").fadeOut();
}
Also see: Tab Triggers