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

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

              
                
<script src="https://kit.fontawesome.com/f0601b0fb2.js" crossorigin="anonymous"></script>

<ul class="header__social">
  <li><a href="#"><i class="fab fa-facebook" aria-hidden="true"></i></a></li>
  <li><a href="#"><i class="fab fa-linkedin" aria-hidden="true"></i></a></li>
  <li><a href="#"><i class="fab fa-instagram" aria-hidden="true"></i></a></li>
</ul>

<div class="copyRight">
  <p>Script by Fabien CAROLE <br> DESIGNER UX UI - Nantes 2023 - </p>
  <a href="https://www.fabiencarole.com" target="_blank" >www.fabiencarole.com</a>
</div>


              
            
!

CSS

              
                body {
  font-family: "Archivo Black", sans-serif;
  background: #000000;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

/*///////////  animation social icons - START */
.header__social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style: none;
  position: relative;
  padding: 0px 30px;
  border-bottom: solid 1px;
  border-image: linear-gradient(to left, #000000, #ffffff,  #000000) 30;

}

.header__social .fab {
  position: relative;

  font-size: 3em;
  color: white;
  opacity: 0.3;
  top: 36%;

  clip-path: inset(0 0 35% 0);
  transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
}

.header__social .fab:hover {
  opacity: 1;
  top: -5%;
  clip-path: inset(0 0 0% 0);
}

.header__social li {
  position: relative;
  margin: 0px 30px;
}
/*//////////////// animation social icons - END */


/*//////////////// cartouche crédits - START */
.copyRight{
  position: absolute;
  text-align: center;
  bottom: 20px;
}

.copyRight p{
  font-size: 0.7em;
  color: rgb(226, 226, 226);
  opacity: 0.3;
  margin-bottom: 0px;
}

.copyRight a{
  font-size: 0.7em;
  color: rgb(226, 226, 226);
  text-decoration: none;
  opacity: 0.3;
  transition: all .2s ease-in-out;
}
.copyRight a:hover {
  opacity: 1;
}
/*///////////////// cartouche crédits - END */
              
            
!

JS

              
                
              
            
!
999px

Console