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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <link href="https://fonts.googleapis.com/css?family=Permanent+Marker" rel="stylesheet">

<body>
  <h1>BLINK-182</h1>
  <div class="blackCirc"></div>
  <div class="pinkCirc"></div>
  <div class="eye1">&#10006</div>
  <div class="eye2">&#10006</div>
  <div class="mouth"></div>
   <figure class="profile1">
    <img src = "https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Ffthtsi-assets-production%2Fez%2Fimages%2F3%2F6%2F5%2F2%2F1342563-1-eng-GB%2F01-HEADING-PIC-REpercussion-Drums-Bog-Oak-Kit.-Photo-by-Amelia-Allen.jpg?height=930&dpr=1&format=jpg&source=htsi" alt = "OC Drum set" class="profile"/>
   <figcaption>
    <img src="http://www.infectiousmagazine.com/wp-content/uploads/2012/03/417099_10150617662185847_10170365846_9172763_1480985707_n.jpg" alt="profile-sample4" class="faceProfile"/>
     <h2>Travis Barker<span>Drummer</span></h2>
     <p>When I look at music, everything is blurred, and I like it that way. I grew up like that, hanging out with different types of people who listened to so many different types of music. I never wanted to be part of any one clique. I loved it all.</p>
   </figcaption>
   </figure>
<!--Begin Profile 2 -->
<figure class="profile1"><img src="http://blog.friday-ad.co.uk/wp-content/uploads/2017/01/bass-guitar-913092_1280.jpg" />
  <figcaption>
    <img src="http://www.91x.com/wp-content/uploads/2015/11/tumblr_mqmoik3hsy1sbw1gto1_500.jpg" alt="Mark Hoppus Profile pic" class="faceProfile"/>
         <h2>Mark Hoppus<span>Bass Guitarist</span></h2>
     <p>When I look at music, everything is blurred, and I like it that way. I grew up like that, hanging out with different types of people who listened to so many different types of music. I never wanted to be part of any one clique. I loved it all.I never wanted to be part of any one clique</p>
  </figcaption>
  </figure>
<!--Begin Profile for Matt Skiba -->
<figure class="profile1"><img
src="https://i.pinimg.com/originals/c0/b1/66/c0b1662a5be50bc7caabb58aa0f44298.jpg"/>
  <figcaption>
    <img src="https://www.reviewjournal.com/wp-content/uploads/2016/07/web1_620167311700859_6766460.jpg" alt="Matt Skiba profile pic" class="faceProfile" />
             <h2>Matt Skiba<span>Lead Guitarist</span></h2>
     <p>When I look at music, everything is blurred, and I like it that way. I grew up like that, hanging out with different types of people who listened to so many different types of music.  I loved it all. I never wanted to be part of any one clique. I loved it all.I never wanted to be part of any one clique</p>
  </figcaption>
</figure> 
</body>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,600);
html {
  height: 100%;
  background-size: cover;
  background-repeat:no-repeat;
  background: linear-gradient(#e66465, #9198e5);
}

.pinkCirc {
  float:left;
	background:black;
	border-radius: 50%;
	height:200px;
	width:200px;
  position: relative;
  box-shadow: 0 0 0 30px #FF69B4;
  margin:40px 50px 0 100px;
}
.eye1 {
  font-size:30px;
  color: #bf1616;
  margin: 160px 0px 0 135px;
  position:absolute;
  animation:spin 4s linear infinite;
}
.eye2 {
  font-size:30px;
  color: #bf1616;
  margin: 160px 0px 0 245px;
  position:absolute;
  animation:spin 4s linear infinite;
}

.mouth {
    border: 12px solid #bf1616;
    min-width: 5em;
    min-height: 3em;
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent; 
    position:absolute;
    margin: 15px 100px 0px 150px;
    z-index:500 ;
}

h1 {
  font-family: 'Permanent Marker', cursive;
  margin: auto;
  text-align:center;
  font-size: 5em;
  color:white;
}

.profile1 {
  float:left;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 330px;
  max-width: 315px;
  z-index:100;
  position:relative;
  margin: 40px 2px -2px 10px ;
  color: #ffffff;
  background-color: #141414;
  text-align:left;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.profile1 img {
  max-width: 100%;
  opacity: 0.7;
  verticl-align: top;
}
.profile1 figcaption:before {
  position:relative;
  content: '';
  bottom: 100%;
  left:0;
  width:0;
  border-style:solid;
  border-width: 45px 0 0 310px;
  border-color:transparent transparent transparent #141414;
}

.profile1 figcaption {
  position:relative;
}

.profile1 .faceProfile {
  position:absolute;
  border-radius: 50%;
  max-width: 90px;
  opacity: 1;
  bottom: 190px;
  left:25px;
}

.profile1 h2 {
font-weight: 300;
margin: 0px 0 5px;
padding: 15px 20px 5px 10px;

}

.profile1 h2 span {
  letter-spacing: 2px;
  display: block;
  font-size: 0.5em;
  padding: 0px 20px 5px 10px;
  color:#bc1ebc;
}

.profile1 p {
  letter-spacing: 2px;
  margin: 0 0 15px;
  font-size: 0.8em;;
  opacity: 0.8;
  padding: 0px 20px 15px 10px;
}


@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

              
            
!

JS

              
                 //margin-left: 400px;
 // margin-top: -200px;
              
            
!
999px

Console