Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

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.

+ add another resource

Packages

Add Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import or require. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>Portfolio project</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500" rel="stylesheet">
	<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
	<link rel="stylesheet" type="text/css" href="./css/style.css">
</head>

<body>
  <header class="header">
		<nav id="navbar" class="nav">
			<ul>
				<li class="nav-item">
					<a href="#welcome-section">About</a>
				</li>
				<li class="nav-item">
					<a href="#projects">Projects</a>
				</li>
			</ul>
		</nav>
	</header>
  
	<div class="container">
		<section class="hero-image" id="welcome-section">
			<div class="hero-text">
				<div class="logo">
					<img src="https://mywebgraphicdesign.com/portfolio-web-template/images/udacity-logo.svg" alt="Udacity logo" class="logo">
				</div>
				<h1 class="title">
					Anna Szałkiewicz
				</h1>
				<h2 class="subtitle">
					Front-End Web Developer & Designer
				</h2>
				<a href="mailto:anna@mywebgraphicdesign.com" target="_top" class="hire-me" role="button">Hire me!</a>
			</div>

		</section>

		<section class="featured" id="projects">
			<h2 class="featured-title">Featured Works</h2>
			<hr class="line">
			<div class="flex-container">
				<div class="works project-tile">
					<div class="image-container">
							<picture class="works-image">
									<source srcset="https://mywebgraphicdesign.com/portfolio-web-template/images/pixel-art-maker-small.jpg" media="(max-width: 767px)">
									<source srcset="https://mywebgraphicdesign.com/portfolio-web-template/images/pixel-art-maker-large.jpg" media="(min-width: 768px)">
									<img src="https://mywebgraphicdesign.com/portfolio-web-template/images/pixel-art-maker-large.jpg" alt="Pixel Art Maker Screenshot"
									 class="works-image">
								</picture>
								<div class="hover-effect" tabindex="0">
			
									<div class="button-container">
										<a href="https://codepen.io/poros04/pen/KZbpav" class="codepen-link" target="_blank">See on Codepen</a>
										<a href="https://www.mywebgraphicdesign.com/pixel-art-maker/" class="direct-link" target="_blank">Direct Link</a>
									</div>
								</div>
					</div>
					<h2 class="works-title">Pixel Art Maker</h2>
				</div>
				<div class="works project-tile">
					<div class="image-container">
							<picture class="works-image">
									<source srcset="https://mywebgraphicdesign.com/portfolio-web-template/images/tribute-page-small.jpg" media="(max-width: 767px)">
									<source srcset="https://mywebgraphicdesign.com/portfolio-web-template/images/tribute-page-large.jpg" media="(min-width: 768px)">
									<img src="https://mywebgraphicdesign.com/portfolio-web-template/images/tribute-page-large.jpg" alt="Tribute Page Screenshot"
									 class="works-image">
								</picture>
								<div class="hover-effect" tabindex="0">
									<div class="button-container">
										<a href="https://codepen.io/poros04/pen/RxLpQX" class="codepen-link" target="_blank" role="button">See on Codepen</a>
										<a href="https://www.mywebgraphicdesign.com/tribute-page-robert-baden-powell/" class="direct-link" target="_blank" role="button">Direct Link</a>
									</div>
								</div>
					</div>
					
					<h2 class="works-title">Tribute Page</h2>
				</div>
				<div class="works project-tile">
					<div class="image-container">
							<picture class="works-image">
									<source srcset="https://mywebgraphicdesign.com/portfolio-web-template/images/blog-post-template-small.jpg" media="(max-width: 767px)">
									<source srcset="https://mywebgraphicdesign.com/portfolio-web-template/images/blog-post-template-large.jpg" media="(min-width: 768px)">
									<img src="https://mywebgraphicdesign.com/portfolio-web-template/images/blog-post-template-large.jpg" alt="Blog Post Template Screenshot"
									 class="works-image">
								</picture>
								<div class="hover-effect" tabindex="0">
									<div class="button-container">
										<a href="https://codepen.io/poros04/pen/KZbpav" class="codepen-link" target="_blank" role="button">See on Codepen</a>
										<a href="https://www.mywebgraphicdesign.com/pixel-art-maker/" class="direct-link" target="_blank" role="button">Direct Link</a>
									</div>
								</div>
					</div>
					<h2 class="works-title">Blog Post Template</h2>
				</div>
			</div>

		</section>
		<footer class="footer">
			<p class="copyright">
				Written and coded by Anna Szałkiewicz
				<br> Copyright &copy; 2018. All Rights Reserved
			</p>
			<div class="float-menu">
				<ul class="float-list">
					<li class="float-nav">
						<a href="https://www.linkedin.com/in/anna-szalkiewicz/" target="_blank">
							<i class="fab fa-linkedin-in fa-fw fa-2x" aria-hidden="true"></i>
						</a>
					</li>
					<li class="float-nav">
						<a href="https://codepen.io/poros04/" target="_blank">
							<i class="fab fa-codepen fa-fw fa-2x" aria-hidden="true"></i>
						</a>
					</li>
					<li class="float-nav">
						<a href="https://github.com/annaszalkiewicz" id="profile-link" target="_blank">
							<i class="fab fa-github fa-fw fa-2x" aria-hidden="true"></i>
						</a>
					</li>
				</ul>
			</div>
		</footer>

	</div>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
	<script src="./js/app.js"></script>
</body>

</html>
            
          
!
            
              /*

COLOR SCHEME

PRIMARY COLOR: #02b3e4
SECONDARY COLOR: #015d77

*/

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 16px;
}

.container {
  width: 100%;
}

/* HEADER */

.header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 30px #aaa;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000000;
}
.nav ul li {
  display: inline-block;
  padding: 1em;
  font-weight: bold;
}

/* HERO IMAGE  */

.hero-image {
  width: 100vw;
  height: 100vh;
  background-image: url("https://mywebgraphicdesign.com/portfolio-web-template/images/hero-image.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.hero-text {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 1.8em;
  box-shadow: 0 0 1.5em #a0a0a0;
  min-width: 70%;
  max-height: calc(100vh - 3em);
}

.logo {
  width: 5em;
  height: auto;
  margin: 0 auto;
}

.title {
  font-size: 1.8em;
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  margin-top: 0.5em;
}

.subtitle {
  font-size: 1.2em;
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 1em;
  margin-bottom: 2em;
}

.hire-me {
  margin-top: 1em;
  padding: 20px;
  background-color: #fff;
  border: solid 3px #02b3e4;
  border-radius: 5px;
  color: #02b3e4;
  font-size: 1.2em;
  box-shadow: 0 0 1em #d2d2d2;
}

.hire-me:hover, .hire-me:focus {
  cursor: pointer;
  box-shadow: 0 0 0.2em #353434;
}

a {
  color: #02b3e4;
  text-decoration: none;
}

/* FEATURED WORKS SECTION */

.featured {
  width: 100%;
}

.featured-title {
  font-size: 1.8em;
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  margin-top: 2em;
  color: #015d77;
}

.line {
  margin: 2em;
  color: #015d77;
}

.flex-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.works {
  width: 22em;
  margin: 1em auto;
  position: relative;
  overflow: hidden;
}

.works-image {
  width: 100%;
  max-width: 500px;
  max-height: 375px;
}

.hover-effect {
  width: 100%;
  max-width: 500px;
  max-height: 375px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  opacity: 0;
  transition: all 1s linear;
}

.hover-effect:hover {
  opacity: 1;
}

.hover-title {
  text-align: center;
}

.button-container {
  margin: 1em auto;
  text-align: center;
}

.codepen-link, .direct-link {
  font-size: 1em;
  font-family: inherit;
  background-color: #fff;
  border: solid 3px #02b3e4;
  border-radius: 5px;
  padding: 1em;
  margin: 0.5em auto;
  display: block;
  min-width: 9em;
  max-width: 11em;
}

.codepen-link:hover, .direct-link:hover, .codepen-link:focus, .direct-link:focus {
  box-shadow: 0 0 20px #353434;
  transition: all 0.3s ease;
}

.scale {
  transform: scale(1.1);
  transition: transform 2s linear;
  opacity: 0.8;
}

.works-title {
  font-size: 1.5em;
  font-weight: 300;
  text-align: center;
  margin-top: 0.5em;
  color: #015d77;
}

.footer {
  text-align: center;
  color: #fff;
  background-color: #02b3e4;
  width: 100%;
  margin-top: 0.8em;
}

.copyright {
  padding: 2em 0 2em 0;
}

/* FLOAT MENU */

.float-menu {
  list-style-type: none;
  bottom: 0;
  left: 50%;
  z-index: 100000;
  min-width: 11em;
}

.float-nav {
  display: inline;
}

.fa-linkedin-in, .fa-codepen, .fa-github {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  margin-top: 5px;
  padding: 0.2em;
}

.fa-fw {
  width: 40px !important;
  height: 40px;
}

.fa-fw:hover {
  cursor: pointer;
  width: 1.7em !important;
  transition: width 2s ease;
}

@media screen and (min-width: 320px) and (orientation: landscape) {
  .float-menu {
    left: 0;
    top: 50%;
    position: fixed;
    transform: translateY(-50%);
  }
  .float-nav {
    display: flex;
  }
}

@media screen and (min-width: 576px)  {
  .logo {
    width: 7em;
  }

  .title {
    font-size: 2.5em;
  }

  .subtitle {
    font-size: 1.6em;
  }

  .float-menu {
    left: 0;
    top: 50%;
    position: fixed;
    transform: translate(0, -50%);
  }

  .float-nav {
    display: flex;
  }
}

@media screen and (min-width: 768px) {
  .hero-text {
    padding: 3em;
  }

  .title {
    font-size: 4em;
  }

  .subtitle {
    font-size: 2em;
  }
}
@media screen and (min-width: 980px) {
  .works {
    width: 30em;
  }
}
@media screen and (min-width: 1280px) {
  .flex-container {
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .works {
    width: 26em;
  }
}

            
          
!
999px

Console