Pen Settings



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


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


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.


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.



    This probably reflects a standard bio card thing. The image is centered by default. The background color is semi-transparent so you can see that there are no overlaps. The page texture also shows through, so this isn't a fake punch-out effect.
<div class="bio-wrap">    
  <div class="bio-bg"></div>
  <img class="pic" src="" alt="" />
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vitae tempor dolor, et pulvinar nulla. Nunc nibh eros, feugiat et vehicula a, tincidunt nec augue.


                @import url(,700);
body {
  background-color: #6D695C;
  font-size: 100%;
  color: #333;
  font-family: Lato, Arial, sans-serif;
  padding: 0;
  margin: 0;

main {
  display: block;
  box-sizing: border-box;
  width: 90%;
  margin: 1em auto;
  padding: 1em 2em;
  color: #000;
  background-color: rgba(204, 204, 204, .3);
  border: .07em solid rgba(0, 0, 0, .3);
  border-radius: .5em;

/* The layout */

.bio-wrap {
  margin: auto;
  position: relative;
  min-width: 10em;
  color: white;
  margin: 4em 0 0 0;
  padding: 3.25em 1.5em 1em 1.5em;
  line-height: 1.7;
  border-radius: 1em;

.bio-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0.6);
    border: none;
    border-radius: 1em;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    z-index: -1;

@supports (mix-blend-mode: multiply) {
  .bio-bg {
    mix-blend-mode: multiply;
  .bio-bg:after {
      content: "";
      position: absolute;
      width: 5.5em;
      height: 5.5em;
      top: -3.5em;
      left: calc(50% - 3.25em);
      border-radius: 5.5em;
      background-color: white;
      border: 0.5em solid white;
      z-index: -1;

.pic {
  position: absolute;
  width: 5.5em;
  height: 5.5em;
  top: -3em;
  left: calc(50% - 2.75em);
  border-radius: 5.5em;