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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

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.

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML

              
                <head>
  <link rel="stylesheet" href="styles.css" />
</head>

<body>
  <header class="main-header">
    <nav class="nav main-nav">
      <ul>
        <li><a href="https://codepen.io/malczzero/full/LYWyzbW">HOME</a></li>
        <li>ABOUT ME</li>
        <li><a href="https://codepen.io/malczzero/full/xxqMoNb">WORK</a></li>
      </ul>
    </nav>
    <h1 class="title title-large">Clelia Giannuoli</h1>
  </header>
  <section class="content-section container">
    <h2 class="section-header">About ME</h2>
    <img class="about-pic" src="https://mir-s3-cdn-cf.behance.net/user/138/a7b815100183447.606f0d6f6e12c.jpg">
    <br>
    <p>Southern Italian artist currently based in East London, truly passionate about all forms of image making from traditional to digital ones. I have been working on producing visual content within various fields such as photography, graphic design, branding, illustration and craft projects.
      My main focus is on identity, its expression, its exploration through image and sound (and yes, I did write a whole dissertation about it). I love what I do and I am good at it.

      Always positive, always real, always here.</p>
    <br>
    <br>
    <button class="btn btn-header"><a href="https://codepen.io/malczzero/full/xxqMoNb">SEE MY PORTFOLIO!</a></button>
    <!--TODO: Find a suitable background image -->
  </section>
  <footer class="main-footer">
    <div class="container main-footer-container">
      <h3 class="clem-1">CLELIAMENTE</h3>
      <ul>
        <li><a href="https://www.instagram.com/cleliamente/" target="_blank"><img src="https://cdn2.iconfinder.com/data/icons/social-media-2285/512/1_Instagram_colored_svg_1-64.png"></a></li>
        <li><a href="https://twitter.com/Clelia_G8" target="_blank"><img src="https://cdn2.iconfinder.com/data/icons/social-media-2285/512/1_Twitter3_colored_svg-64.png"></a></li>
        <li><a href="https://www.youtube.com/channel/UC4ml3K8RlMkCK-eE4ueNWig" target="_blank"><img src="https://cdn2.iconfinder.com/data/icons/social-media-2285/512/1_Youtube_colored_svg-64.png"></a></li>
      </ul>
    </div>
  </footer>
</body>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&display=swap');

h1 {
  color: #F0E68C;
  font-family: 'Italianno', cursive;
  }

p {
  font-family: 'Crimson Text', serif;
  color: #777;
  font-size: 1.5em;
}

@import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap'); 

*{
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

.main-header {
  background-image: url("https://png.pngtree.com/thumb_back/fw800/background/20190222/ourmid/pngtree-beautiful-dreamy-magpie-background-material-backgroundbanner-backgroundadvertising-backgroundbackground-image_52516.jpg");
  background-size: cover;
  background-blend-mode: multiply;
  padding-bottom: 20px;
}


*{
  box-sizing: border-box;
  font-family: 'Crimson Text', serif;
}

html, body {
  margin: 2;
  padding: 2;
}
.nav ul {
    margin: 0;  
}

.nav li{
  display: inline;
}

.nav a {
   display: inline-block;
  padding: .5em;
  color: #F0E68C;
  text-decoration: none;
}

.nav a {
  display: inline-block;
  padding: .5em;
  color: white;
  text-decoration: none;
}

.main-nav {
  text-align: center;
  font-size: 1.2em;
  font-weight: ligher;
  border-bottom: 1px solid rgba(255,255,255, .3)
}



h2 {
  color: #FFD700;
  font-family: 'Crimson Text', serif;
 }


.title {
  text-align: center;
  margin: 0;
  font-size: 4em;
  font-family: 'Italianno', cursive;
}
.title-large {
  font-size: 5em;
}
.content-section {
  margin: 1em;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5em;
}
.section-header {
  font-family: 'Crimson Text', serif;
  font-wight: normal;
  color: #333;
  text-align: center;
  font-size: 2.5em;
  
}
.about-pic {
float: left;
height: 200px;
width: 200px;
  margin: 15px;
border-radius: 50%;
}

.main-footer {
  background-color: #D8BFD8;
  color: white;
  padding: .25em 0;
}
.main-footer-container {
  display: flex;
  align-items: center;
}
.main-footer-container ul {
  flex-grow: 1;
  text-align: end;
  
}
.footer-nav li {
  padding: 0 .5em;
}
.footer-nav img {
  width: 20px;
  height: 20px;
} 
.btn {
  text-align: center;
  vertical-align: middle;
  padding: .67em;
  cursor: pointer;
}
.btn-header {
  margin: .5em 155 2em 15%;
  color: #F0FFFF;
  border: 2px solid #2D9CDB;
  background-color: rgba(255, 255, 255, .1);
  border-radius: 0;
  font-size: 1.5em;
  font-weight: lighter;
  padding-left: 2em;
  padding-right: 2em;
}
.btn-header:hover {
 background-color: rgba(255, 255, 255, .3); 
}
              
            
!

JS

              
                
              
            
!
999px

Console