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

              
                <div class="user-avatar"></div>
<!-- Hier Beginnt das Javascript -->
<script id="rendered-js">
const user = document.querySelector('.user-avatar');

user.addEventListener('click', () =>
open('http://black-angels-club.xobor.de/u1_Blutwahn.html'));
//# sourceURL=pen.js
    </script>
              
            
!

CSS

              
                /* Hier beginnt der neue Benutzereffekt für spender */
/* Hier beginnt der neue Benutzereffekt für spender */
/* Hier beginnt der neue Benutzereffekt für spender */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #0e0e10;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* User Avatar hier die adresse des Bildes angeben */
.user-avatar {
  background: url(https://files.homepagemodules.de/b906480/avatar-76b967fa-1.png) no-repeat center;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  position: relative;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #0e0e10;
  cursor: pointer;
}
.user-avatar::before {
  content: "";
  background: linear-gradient(180deg, #9147ff 70%, rgba(255, 255, 255, 0.85));
  border-radius: 50%;
  height: 110%;
  width: 110%;
  position: absolute;
  z-index: -1;
}
/* User Avatar Hover bei maus überfahren */
.user-avatar:hover::before {
  animation: avatar-rotate 1s linear infinite;
}
/* User Avatar Name für Project ist automatisch anpassbar */
.user-avatar::after {
  /* Project name angeben z.b. Spender */
  content: "Spender";
  color: #fff;
  font-family: sans-serif;
  font-weight: 700;
  background: red;
  padding: 5px;
  border: 2px solid #0e0e10;
  border-radius: 10px;
  text-align: center;
  transform: translateY(143%);
}

@keyframes avatar-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Hier endet der neue Benutzereffekt für spender */
/* Hier endet der neue Benutzereffekt für spender */
/* Hier endet der neue Benutzereffekt für spender */
              
            
!

JS

              
                
              
            
!
999px

Console