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

              
                <!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
  <title>Document</title>
</head>

<body>
  <nav id="navbar">
    <div class="nav-container">
      <a href="#welcome-section"><img
          src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168150/Portfolio/navbar1_n8662v.png"
          alt="button-icon1">Home</a>
      <a href="#projects"><img
          src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168150/Portfolio/navbar2_nyqsxm.png"
          alt="button-icon2">Sweet</a>
      <a href="#welcome-section"><img
          src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168150/Portfolio/navbar3_u0qndl.png"
          alt="button-icon3">Home</a>
    </div>
  </nav>
  <div class="container">

    <div id="welcome-section">
      <div id="terminal">
        <i class="fas fa-terminal"></i>
        <div class="relative">
          <div class="terminal-text">
            <div class="abs">
              <div class="flex">
                <span style="color: #f0696f;">[</span>
                <span style="color: #f7cca1;">Artem</span>
                <span style="color: #718c97">@</span>
                <span style="color: #ec9051;">Shvets</span>
                <span style="color: #5f9993; margin-left: 6px;"> ~</span>
                <span style="color: #f0696f;">]</span>
                <span style="margin-left: 2px;">$</span>
              </div>
            </div>
            <h1>Welcome!</h1>

            <div class="abs">
              <div class="flex">
                <span style="color: #f0696f;">[</span>
                <span style="color: #f7cca1;">Artem</span>
                <span style="color: #718c97">@</span>
                <span style="color: #ec9051;">Shvets</span>
                <span style="color: #5f9993; margin-left: 6px;"> ~</span>
                <span style="color: #f0696f;">]</span>
                <span style="margin-left: 2px;">$</span>
              </div>
            </div>
            <p>don't know what to say</p>

            <div class="abs">
              <div class="flex">
                <span style="color: #f0696f;">[</span>
                <span style="color: #f7cca1;">Artem</span>
                <span style="color: #718c97">@</span>
                <span style="color: #ec9051;">Shvets</span>
                <span style="color: #5f9993; margin-left: 6px;"> ~</span>
                <span style="color: #f0696f;">]</span>
                <span style="margin-left: 2px;">$</span>
              </div>
            </div>
            <p> i'm really enjoying coding
            </p>

            <div class="abs">
              <div class="flex">
                <span style="color: #f0696f;">[</span>
                <span style="color: #f7cca1;">Artem</span>
                <span style="color: #718c97;">@</span>
                <span style="color: #ec9051;">Shvets</span>
                <span style="color: #5f9993; margin-left: 6px;"> ~</span>
                <span style="color: #f0696f;">]</span>
                <span style="margin-left: 2px;">$</span>
              </div>
            </div>
            <p>still have long way to go, sometimes it's getting hard due to my dyslexia
              condition, but this time i'll
              try
              my
              best <img src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168150/Portfolio/xqcS_vtmwhv.png"
                alt="xqcS">
            </p>
            <div class="abs">
              <div class="flex">
                <span style="color: #f0696f;">[</span>
                <span style="color: #f7cca1;">Artem</span>
                <span style="color: #718c97">@</span>
                <span style="color: #ec9051;">Shvets</span>
                <span style="color: #5f9993; margin-left: 6px;"> ~</span>
                <span style="color: #f0696f;">]</span>
                <span style="margin-left: 2px;">$</span>
              </div>
            </div>
            <p>
              <span class="blink-me">|</span></p>
          </div>
        </div>
      </div>

    </div>

    <div id="projects">
      <input type="checkbox" id="toggle" />
      <label for="toggle">
        <span>TheJuice</span>
      </label>
      <span class="juice-desc">Responsive web design projects</span>
      <div class="project-tile tile1" tabindex="0">
        <div class="relative-card">
          <a class="link-title" href="https://codepen.io/Fizrook/pen/MNrmZy" target="_blank">Tribute
            Page</a>
          <a class="link-img" href="https://codepen.io/Fizrook/pen/MNrmZy" target="_blank"><img
              src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168676/Portfolio/tributepage_m4u2dd.png"
              alt="Tribute-page preview"></a>
        </div>
      </div>
      <div class="project-tile tile2" tabindex="0">
        <div class="relative-card">
          <a class="link-title" href="https://codepen.io/Fizrook/pen/ZEzyjaO" target="_blank">Survey
            Form</a>
          <a class="link-img" href="https://codepen.io/Fizrook/pen/ZEzyjaO" target="_blank"><img
              src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168675/Portfolio/surveyform_ghrgme.png"
              alt="Survey-form preview"></a>
        </div>
      </div>
      <div class="project-tile tile3" tabindex="0">
        <div class="relative-card">
          <a class="link-title" href="https://codepen.io/Fizrook/pen/NWqbgZL" target="_blank">Landing
            Page</a>
          <a class="link-img" href="https://codepen.io/Fizrook/pen/NWqbgZL" target="_blank"><img
              src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168675/Portfolio/landingpage_b7vbiy.png"
              alt="Landing-page preview"></a>
        </div>
      </div>
      <div class="project-tile tile4" tabindex="0">
        <div class="relative-card">
          <a class="link-title" href="https://codepen.io/Fizrook/pen/yLNKLvx" target="_blank">Documentation</a>
          <a class="link-img" href="https://codepen.io/Fizrook/pen/yLNKLvx" target="_blank"><img
              src="https://res.cloudinary.com/dqiv4noej/image/upload/v1587168674/Portfolio/documentation_bthjnd.png"
              alt="Documentation preview"></a>
        </div>
      </div>
    </div>
  </div>
  <div class="footer"><span>Here is my empty<a id="profile-link" target="_blank"
        href="https://github.com/Fizrook">GitHub</a>page, haven't
      learned how to use it yet ¯\_(ツ)_/¯
    </span>
  </div>
</body>

</html>
              
            
!

CSS

              
                * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "VT323", monospace;
  color: #e9edec;
  font-size: 18px;
  background: url("https://res.cloudinary.com/dqiv4noej/image/upload/v1587168154/Portfolio/juicyjuice_ef3efq.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #121c21;
}

#navbar {
  z-index: 1;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(18, 28, 33, 0.85);
  border-bottom: 3px solid #1e2e36;
  outline: solid 6px #121c21;
  .nav-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    a {
      padding: 2px 4px;
      margin: 0 5px;
      text-shadow: 1px 1px 0 #1e2e36, 1px -1px 0 #1e2e36, -1px 1px 0 #1e2e36,
        -1px -1px 0 #1e2e36, 1px 0px 0 #1e2e36, 0px 1px 0 #1e2e36,
        -1px 0px 0 #1e2e36, 0px -1px 0 #1e2e36;
      img {
        vertical-align: middle;
        width: 35px;
      }
    }
  }
}

.container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
}

#welcome-section {
  height: 100vh;
  margin-bottom: 100px;
}

#terminal {
  max-width: 550px;
  position: relative;
  outline: solid 6px #121c21;
  margin: 75px 15px 15px 15px;
  i {
    color: #f0696f;
    position: absolute;
    top: 3px;
    left: 20px;
  }
  .relative {
    height: 450px;
    background-color: rgba(18, 28, 33, 0.85);
    border: 3px solid #1e2e36;
    border-top: 25px solid #1e2e36;
    .terminal-text {
      margin: 10px;
    }
    img {
      vertical-align: middle;
      width: 26px;
    }
  }
  h1 {
    line-height: 0.6;
  }
  p,
  h1 {
    text-indent: 140px;
  }
}

a {
  cursor: pointer;
  color: #f7cca1;
  font-size: 22px;
  &:hover {
    background: rgb(206, 43, 3);
  }
}

.flex {
  display: flex;
}
.abs {
  position: absolute;
}

#projects {
  margin: 15px;
  max-width: 550px;
  height: 350px;
  position: relative;
  color: #f0696f;
  text-shadow: 1px 1px 0 #1e2e36, 1px -1px 0 #1e2e36, -1px 1px 0 #1e2e36,
    -1px -1px 0 #1e2e36, 1px 0px 0 #1e2e36, 0px 1px 0 #1e2e36,
    -1px 0px 0 #1e2e36, 0px -1px 0 #1e2e36;
  #toggle {
    display: none;
  }
  label {
    user-select: none;
    cursor: pointer;
    position: relative;
    font-size: 25px;
    display: inline-block;
    margin: 15px 25px 15px 90px;
    text-shadow: 2px 2px 0 #1e2e36, 2px -2px 0 #1e2e36, -2px 2px 0 #1e2e36,
      -2px -2px 0 #1e2e36, 2px 0px 0 #1e2e36, 0px 2px 0 #1e2e36,
      -2px 0px 0 #1e2e36, 0px -2px 0 #1e2e36;
    &::before {
      left: -15px;
      top: 7px;
      position: absolute;
      font-size: 35px;
      content: "<";
      display: none;
    }
    &::after {
      right: -25px;
      top: 7px;
      position: absolute;
      font-size: 35px;
      content: "/>";
      display: none;
    }
    &:hover {
      &::before {
        left: -15px;
        top: 7px;
        position: absolute;
        font-size: 35px;
        content: "<";
        display: block;
      }
      &::after {
        right: -25px;
        top: 7px;
        position: absolute;
        font-size: 35px;
        content: "/>";
        display: block;
      }
    }
    span {
      color: #ec9051;
      font-size: 45px;
    }
  }
  input:checked ~ label::before {
    display: block;
  }
  input:checked ~ label::after {
    display: block;
  }
  input:checked ~ .project-tile .link-img img {
    display: none;
  }
  input:checked ~ .project-tile .link-title {
    &::after {
      display: none;
    }
  }
  .project-tile {
    position: absolute;
    user-select: none;
    outline: none;
    .relative-card {
      width: 200px;
      height: 210px;
      .link-title {
        margin: 0 auto;
        display: block;
        width: 105px;
        height: 32px;
        font-size: 18px;
        text-align: center;
        background-color: rgb(18, 28, 33);
        border: 3px solid #1e2e36;
        outline: solid 6px #121c21;
        &::after {
          position: absolute;
          top: 20px;
          left: 50%;
          transform: translateX(-50%);
          font-size: 35px;
          font-family: "Font Awesome 5 Free";
          content: "\f0d7";
          font-weight: 900;
          color: #121c21;
          text-shadow: none;
        }
        &:hover {
          background: #1e2e36;
          &::after {
            display: block;
            position: absolute;
            left: 50%;
            top: 20px;
            transform: translateX(-50%);
            font-size: 35px;
            font-family: "Font Awesome 5 Free";
            content: "\f0d7";
            font-weight: 900;
            color: #121c21;
            text-shadow: none;
          }
        }
      }
      .link-title:hover ~ .link-img img {
        display: block;
      }
      .link-img img {
        position: absolute;
        bottom: 0;
        width: 200px;
        height: auto;
        border: 3px solid #1e2e36;
        outline: solid 6px #121c21;
        display: block;
      }
    }
  }
}
.tile2 {
  left: 120px;
}
.tile3 {
  left: 240px;
}
.tile4 {
  left: 360px;
}
@media only screen and (max-width: 768px) {
  body {
    font-size: 16px;
    .tile2,
    .tile3,
    .tile4 {
      left: unset;
    }
    #terminal {
      max-width: 475px;
      p,
      h1 {
        text-indent: 125px;
      }
    }
    #projects {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: auto;
      label {
        margin: 0;
      }
      .project-tile {
        margin: 15px;
        position: relative;
        .relative-card {
          width: auto;
          height: auto;
          .link-title {
            margin-bottom: 20px;
          }
          .link-img img {
            position: initial;
            max-width: 250px;
            width: 100%;
          }
        }
      }
    }
  }
}

.blink-me {
  animation: blinkingText 1.2s infinite;
  font-weight: bold;
  text-shadow: none;
}
@keyframes blinkingText {
  0% {
    color: #f7cca1;
  }
  49% {
    color: #f7cca1;
  }
  60% {
    color: transparent;
  }
  99% {
    color: transparent;
  }
  100% {
    color: #f7cca1;
  }
}

.footer {
  width: 100%;
  text-align: center;
  text-shadow: 1px 1px 0 #1e2e36, 1px -1px 0 #1e2e36, -1px 1px 0 #1e2e36,
    -1px -1px 0 #1e2e36, 1px 0px 0 #1e2e36, 0px 1px 0 #1e2e36,
    -1px 0px 0 #1e2e36, 0px -1px 0 #1e2e36;
  span {
    font-size: 14px;
    #profile-link {
      padding: 5px 5px;
    }
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console