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 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.
<body data-spy="scroll" data-target="#navbar-scroll">
<nav class="navbar navbar-fixed-top navbar-inverse" id="navbar-scroll">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">Evi Starida</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#home">Welcome</a></li>
<li><a href="#about">About</a></li>
<li><a href="#portfolio">Portofolio</a></li>
<li><a href="#signup">Contact</a></li>
</ul>
</div>
</div>
</nav>
<div id="home" class="cover">
<div class="cover-text">
<h1>Web developer. Eye for detail. Coffee lover.</h1>
<p class="lead">My name is Evi Starida and welcome to my personal website. I am a front-end developer based in Athens Greece. I love the web and I believe in beautiful design with attention to detail so I build it pixel by pixel.</p><br><br>
<a href="#why-us" role="button" class="btn btn-info btn-lg">View my work</a>
</div>
</div>
<section id="about">
<div class="container">
<div class="content-wrap">
<h2>About Evi Starida</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo voluptatibus beatae cumque vitae, nulla iure labore quaerat cupiditate, optio numquam dolores placeat tempora amet adipisci eum repellendus in ut. Aperiam.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquam eos officiis, quos optio et accusamus est? Quia optio nam, nemo, error nostrum tempora. Esse harum voluptatem necessitatibus fugit distinctio laudantium?</p>
<br>
<h3>My Skills</h3>
<div class="row">
<div class="col-sm-4">
<h3>HTML5</h3>
<p>HTML5 is a web markup language that allows developers to build rich web-based apps that can run on any device via a regular web browser.</p>
</div>
<div class="col-sm-4">
<h3>CSS3</h3>
<p>A powerful tool for web designers. Simple, clean and fun, really takes the web to a brand new level. An absolutely must for every website.</p>
</div>
<div class="col-sm-4">
<h3>JavaScript</h3>
<p>A high-level, dynamic, weakly typed, prototype-based and interpreted programming language. JavaScript is one of the three core technologies of World Wide Web content production.</p>
</div>
<div class="col-sm-4">
<h3>WordPress</h3>
<p>Wordpress powers 30% of the internet. A user-friendly CMS that takes care of the technical stuff and lets you focus on your future and your business.</p>
</div>
<div class="col-sm-4">
<h3>PHP</h3>
<p>A widespread language the web is made of. Gives you the power to develop various applications for the web from personal blogs and corporate websites to mobile apps.</p>
</div>
<div class="col-sm-4">
<h3>Bootstrap</h3>
<p>Build responsive, mobile-first projects on the web with the world's most popular front-end component library. Bootstrap is an open source toolkit for developing with HTML, CSS, and JS.</p>
</div>
</div><!-- .row -->
</div><!-- .content-wrap -->
</div>
</section>
<section id="portfolio">
<div class="container">
<div class="content-wrap">
<h2>Portfolio Examples</h2>
<p>click on the image to visit the website</p>
<div class="row">
<div class="col-sm-6 part">
<h3>Tie the Knot</h3><br>
<a href="http://escreations.gr/subsites/tie-the-knot/index.html" target="_blank">
<img src="https://escreations.gr/wp-content/uploads/2018/01/tie-the-knot.jpg" alt="Tie the Knot official website" class="img-responsive"></a>
</div>
<div class="col-sm-6 part">
<h3>Perilane Co.</h3><br>
<a href="http://escreations.gr/wordpress/perilane/" target="_blank">
<img src="https://escreations.gr/wp-content/uploads/2018/01/perilane.jpg" alt="Perilane Co. official website" class="img-responsive"></a>
</div>
</div>
<br><br>
<div class="row">
<div class="col-sm-6 part">
<h3>Cute dog club</h3><br>
<a href="http://escreations.gr/subsites/cute-dog-club/index.html" target="_blank">
<img src="https://escreations.gr/wp-content/uploads/2018/01/cute-dog-club.jpg" alt="Cute dog club official website" class="img-responsive"></a>
</div>
<div class="col-sm-6 part">
<h3>Doctors Net</h3><br>
<a href="http://escreations.gr/subsites/doctorsnet/index.html" target="_blank">
<img src="https://escreations.gr/wp-content/uploads/2018/01/doctorsnet.jpg" alt="DoctorsNet Official Website" class="img-responsive"></a>
</div>
</div>
</div><!-- .content-wrap -->
</div>
</section>
<section id="signup">
<div class="container">
<div class="content-wrap">
<h2>Get my weekly newsletter</h2>
<p class="lead">Seriously, I'll send you one email per week. No more. I promise it won't be annoying.</p>
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<form>
<div class="input-group">
<input type="text" class="form-control input-lg" placeholder="Put your email address in here...">
<span class="input-group-btn">
<button class="btn btn-warning btn-lg" type="button">Sign Up</button>
</span>
</div>
</form>
</div>
</div><!-- .row -->
</div><!-- .content-wrap -->
</div>
</section>
<footer>
<div class="content-wrap">
<div class="row ftr">
<div class="col-sm-3 col-sm-offset-1">
<h3>About Evi Starida</h3>
<p>Cupcake ipsum dolor sit amet danish candy biscuit. Ice cream dessert pie chocolate cake macaroon gummi bears brownie halvah candy. Carrot cake carrot cake gingerbread marzipan pudding. Bear claw pastry jelly-o halvah. Gummi bears toffee pie gingerbread gummi bears.</p>
</div>
<div class="col-sm-3 col-sm-offset-1">
<h3>Social Media</h3>
<ul class="social">
<li><a href="https://www.facebook.com/escreationsgr" target="_blank">
<img src="https://escreations.gr/wp-content/themes/escreations/assets/img/social/facebook.png" alt="Friend me on Facebook" /></a></li>
<li><a href="https://twitter.com/evirules" target="_blank">
<img src="https://escreations.gr/wp-content/themes/escreations/assets/img/social/twitter.png" alt="Follow me on Twitter" /></a></li>
<li><a href="https://gr.linkedin.com/in/evi-starida-0025b751" target="_blank">
<img src="https://escreations.gr/wp-content/themes/escreations/assets/img/social/linkedin.png" alt="Look me up on LinkedIn" /></a></li>
<li><a href="https://www.instagram.com/evirules/" target="_blank">
<img src="https://escreations.gr/wp-content/themes/escreations/assets/img/social/instagram.png" alt="Follow me on Instagram" /></a></li>
</ul>
</div>
<div class="col-sm-3 col-sm-offset-1">
<h3>Contact Us</h3>
<ul class="ulcont">
<li><span>T: </span><a href="tel:520-439-5441">520-439-5441</a></li>
<li><span>F: </span><a href="tel:520-439-5441">520-439-5442</a></li>
<li><span>E: </span><a href="#">[email protected]</a></li>
<li><span>A: </span>2238 Jarvis Street, Seattle, WA</li>
</ul>
</div>
</div><!-- .row -->
</div><!-- .content-wrap -->
</footer>
<div class="copyright">
<div class="container">
<div class="col-sm-12">
<p style="text-align:center;">crafted with <span> ♥ </span> by <a href="http://escreations.gr">EScreations</a></p>
</div>
</div><!-- .container -->
</div>
@import url('https://fonts.googleapis.com/css?family=Buda:300|Ubuntu');
/*
font-family: 'Buda', cursive;
font-family: 'Ubuntu', sans-serif;
*/
html,
body,
.cover {
height: 100%;
font-family: 'Ubuntu', sans-serif;
font-size: 16px;
font-weight: normal;
width: 100%;
}
.cover {
background: url('https://escreations.gr/wp-content/uploads/2018/01/home-bg-alpha.jpg') top left repeat;
background-size: cover;
display: table;
width: 100%;
padding: 0 20%;
box-shadow: inset 0 0 100px #000;
}
.cover-text {
text-align: center;
color: white;
display: table-cell;
vertical-align: middle;
margin-top: 100px;
}
.cover-text h1 {
margin: 0;
font-size: 70px;
letter-spacing: -3px;
font-family: 'Buda', cursive;
text-shadow: 1px 1px 1px #000;
}
.cover-text h1 + .lead {
margin-top: 20px;
text-shadow: 1px 1px 1px #000;
}
.lead {
margin: 5px 0 15px 0;
font-family: 'Ubuntu', sans-serif;
font-size: 18px;
padding: 0 20%;
}
.content-wrap {
padding: 20px;
}
p {
margin: 10px 0;
}
h3 {
font-size: 22px;
text-align: center;
font-weight: normal;
padding-top: 50px;
font-family: 'Buda', cursive;
}
.part img {
margin: 0 auto;
}
nav.navbar-inverse {
background: rgba(0,0,0,0.5);
border: none;
}
.navbar-inverse .navbar-brand {
font-family: 'Buda', cursive;
font-size: 20px;
font-weight: normal;
color: #fff;
letter-spacing: 1px;
}
section {
padding: 100px;
}
h2 {
text-align: center;
font-size: 28px;
font-weight: bold;
text-transform: uppercase;
padding: 0 0 20px 0;
font-family: 'Buda', cursive;
letter-spacing: 3px;
line-height: 45px;
}
#about .col-sm-4 {
text-align: justify;
}
#portfolio {
background-color: #222;
background-image: url("https://www.transparenttextures.com/patterns/pw-pattern.png");
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
color: white;
text-align: center;
}
footer {
background: #222;
color: white;
text-align: center;
}
.ftr {
padding: 20px;
margin: 0;
text-align: left;
}
.ftr h3 {
font-family: 'Buda', cursive;
text-align: left;
padding-bottom: 20px;
}
.ftr ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.social li {
display: inline;
width: 100%;
padding: 5px 4%;
}
.social li:first-child{
padding: 5px 4% 5px 0;
}
.social h3 {
text-align: center;
}
.ulcont li {
display: block;
text-align: justify;
}
.ulcont span {
color: #FCD581;
padding-right: 20px;
text-align: left;
}
.ulcont a {
color: #fff;
text-decoration: none;
}
.ulcont a:hover {
color: #FCD581;
}
.copyright {
background: #333;
padding: 6px;
margin: 0;
color: #fff;
}
.copyright a {
color: #FCD581;
}
.copyright span {
color: red;
font-size: 20px;
}
/* Media Queries */
@media only screen and ( max-width: 568px ) {
body {
overflow-x: hidden;
}
.cover h1 {
font-size: 40px;
}
h2 {
padding: 0 0 20px 0;
}
section {
padding: 20px;
}
.social li, .social li:first-child {
padding: 5px 2%;
}
.col-sm-3 {
padding-bottom: 30px;
}
.content-wrap {
padding: 40px 10px;
}
.navbar-toggle {
margin-right: 20px;
}
}
Also see: Tab Triggers