Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ 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

Auto Save

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

              
                <html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hashnode challenge</title>
    <link rel="stylesheet" href="hashnode.css">
</head>
<body>
    <div class="box">
        <ul class="H">
            <li class="h-left"></li>
            <li class="h-right"></li>
            <li class="h-middle"></li>
        </ul>
        <ul class="A">
            <li class="a-left"></li>
            <li class="a-right"></li>
            <li class="a-middle"></li>
        </ul>
        <ul class="S">
            <li class="s-upper">C</li>
            <li class="s-lower">C</li>
        </ul>
        <ul class="H2">
            <li class="h2-left"></li>
            <li class="h2-right"></li>
            <li class="h2-middle"></li>
        </ul>
        <ul class="N">
            <li class="n-left"></li>
            <li class="n-right"></li>
            <li class="n-middle"></li>
        </ul>
        <ul class="O">
            <li class="o"></li>
        </ul>
        <ul class="D">
            <li class="d"></li>
        </ul>
        <ul class="E">
            <li class="e">E</li>
        </ul>
    </div>
</body>
</html>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');
* {
  margin: 0;
  padding: 0;
  transition: all 3s ease-in-out;
}
.box {
  margin: 0 -50px;
  display: flex;
  height: 100vh;
  position: absolute;
  width: 100vw;
  align-items: center;
  justify-content: center;
}
ul li {
  list-style: none;
  position: absolute;
}
.H {
  position: absolute;
  width: 980px;
}
.h-left,
.h-right,
.h-middle {
  height: 150px;
  position: absolute;
  width: 30px;
  background: blue;
}
.h-left{
    animation: hLeft 10s linear 4s forwards;
}
.h-middle {
  margin: 60px 0;
  height: 30px;
  animation: ssss 4s linear 2s forwards;
  width: 120px;
}
.h-right {
  margin: 0 90px;
  animation: hRight 10s linear 4s forwards;
}
.A {
  position: absolute;
  width: 645px;
}
.a-left,
.a-right,
.a-middle {
  height: 150px;
  width: 30px;
  background-color: blue;
  animation: ssss 4s linear 2s forwards;
  position: absolute;
}
.a-left {
  transform: rotate(25deg);
  border-top-left-radius: 30px;
}
.a-right {
  margin: 0 65px;
  transform: rotate(-25deg);
  border-top-right-radius: 30px;
}
.a-middle {
  width: 70px;
  height: 30px;
  margin: 85px 13px;
}
.S {
  color: blue;
  font-weight: bold;
  position: absolute;
  width: 165px;
}
.s-upper {
  font-size: 110px;
font-family: 'Open Sans', sans-serif;
  transform: rotate(39deg);
  position: absolute;
  animation: ssss 4s linear 2s forwards;
  margin: -39px -95px;
}
.s-lower {
  font-size: 110px;
  font-family: 'Open Sans', sans-serif;
  animation: ssss 4s linear 2s forwards;
  transform: rotate(220deg);
  margin: 45px -99px;
}
.H2 {
  position: absolute;
  width: 165px;
}
.h2-left,
.h2-right,
.h2-middle {
  height: 150px;
  position: absolute;
  width: 30px;
  background: blue;
}
.h2-middle {
    animation: ssss 4s linear 2s forwards;
  margin: 60px 0;
  height: 30px;
  width: 120px;
}
.h2-left{
    animation: h2Left 10s linear 4s forwards;
}
.h2-right {
  margin: 0 90px;
  animation: h2Right 10s linear 4s forwards;
}
.N {
    width: 30px;
}
.n-left {
    height: 150px;
    width: 30px;
    background: blue;
    position: absolute;
    animation: ssss 4s linear 2s forwards;
    margin: 0 75px;
}
.n-right {
    height: 150px;
    width: 30px;
    background: blue;
    animation: ssss 4s linear 2s forwards;
    margin: 0 170px;
}
.n-middle {
    height: 160px;
    width: 30px;
    animation: ssss 4s linear 2s forwards;
  background: blue;
  transform: rotate(-34deg);
  margin: -5px 124px;
}
.O {
  position: absolute;
}
.o {
  position: absolute;
  height: 100px;
  width: 100px;
  border: 25px solid blue;
  border-radius: 75px;
  animation: circle 10s linear 4s forwards;
  margin: 0 200px;
}
.d {
  height: 110px;
  width: 100px;
  border: 20px solid blue;
  position: absolute;
  margin: 0 360px;
  border-radius: 0 65px 65px 0;
  animation: ssss 4s linear 2s forwards;
}
.e {
  color: blue;
  font-size: 200px;
  font-family: system-ui;
  margin: -72px 500px;
  animation: ssss 4s linear 2s forwards;
  font-weight: 800;
}

@keyframes hLeft {
  to {
    transform: rotate(-45deg);
    height: 300px;
    box-shadow: 29px 0 2px blue;
    margin: -18px 400px;
    z-index: 10;
    border-radius: 40px 0 0 40px;
  }
}
@keyframes hRight {
  to {
    transform: rotate(45deg);
    margin: -17px 592px;
    height: 300px;
    box-shadow: -27px 0 2px blue;
    z-index: 10;
    border-radius: 0 40px 40px 0;
  }
}
@keyframes h2Left {
  to {
    transform: rotate(45deg);
    height: 300px;
    margin: -210px -7px;
    z-index: 10;
    border-radius: 40px 0 0 40px;
    box-shadow: 22px 1px 0px blue;
  }
}
@keyframes h2Right {
  to {
    transform: rotate(-45deg);
    height: 300px;
    margin: -210px 183px;
    border-radius: 0 40px 40px 0;
    z-index: 10;
    box-shadow: -28px 0 2px blue;
  }
}
@keyframes circle {
  to {
    background: white;
    border: transparent;
    z-index: 10;
    height: 145px;
    width: 145px;
    margin: -40px -50px;
    box-shadow: 2px 2px 2px 70px blue;
  }
}
@keyframes ssss{
    100%{
        color: white;
        background: white;
        border: transparent;
    }
}
              
            
!

JS

              
                // Hashnode logo in CSS
// Yet it is not looking well in mobile but for the best view, you can see it in big screen.

              
            
!
999px

Console