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 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

              
                <body>
  <p> CSS3 Camera icon set </p>
  <div class="well">
     <div class="icon">
    <div class="camera1"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera2"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera3"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera4"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera5"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera6"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera7"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera8"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera9"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera10"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera11"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera12"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera13"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera14"><span></span></div>
  </div>
  <div class="icon">
    <div class="camera10"><span></span></div>
  </div>
  
  
  </div>
 
</body>
              
            
!

CSS

              
                body{
background-color:#efefef;
 padding:20px;
}
.well{

  margin:20px auto;
  background-color:#fff;
  width:550px;
  overflow:hidden;
  text-align:center;
  box-shadow:0 0 2px #333;
}
p
{
	padding:0;
  
	text-align:center;
	text-shadow: -1px 1px 0 #989898, 
               -2px 2px 0 #909090,
               -3px 3px 0 #888888,
               -4px 4px 0 #808080,
               -5px 5px 0 #787878,
               -6px 6px 1px rgba(0,0,0,.20),
               0 0 5px rgba(0,0,0,.20),
               -1px 1px 3px rgba(0,0,0,.4),
               -3px 3px 10px rgba(0,0,0,.38),
               -10px 5px 10px rgba(0,0,0,.35),
               -20px 10px 20px rgba(0,0,0,.3),
               -40px 20px 40px rgba(0,0,0,.2);

	font-family:'OCR A Extended', 'OCR A Std', 'Courrier New', monospace;
	font-size:50px;
	font-weight:bold;
	letter-spacing: -.15em;
  
	color:#fff;
  
	-webkit-opacity: .2;
	-moz-opacity: .2;
	opacity: .2;
}

.icon{
margin:15px;
 width:75px;
  height:75px;
  background-color:#f5f5f5;
  border:1px solid #ccc;
  box-shadow:0 0 2px #ccc;
  position:relative;
  float:left;
  border-radius:5px;
}

.camera1{
  display:block;
  width:50%;
  height:70%;
  position:absolute;
  top:12%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}

.camera1:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:3px solid #fff;
  position:absolute;
  top:12%;
  left:35%;
  background-color:#000;
  border-radius:15px;
}
.camera1:before{
  content:"";
  display:block;
  width:10px;
  height:10px;
  border:3px solid #fff;
  position:absolute;
  top:62%;
  left:20%;
  background-color:#000;
  border-radius:10px;
}

.camera1 span{
  display:block;
  width:7px;
  height:75%;
  position:absolute;
  top:12%;
  left:105%;
  background-color:#000;
}

.camera1 span:after{
  content:"";
  display:block;
  width:7px;
  height:75%;
  position:absolute;
  top:12%;
  left:115%;
  background-color:#000;
}

.camera2{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera2:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:4px solid #fff;
  position:absolute;
  top:20%;
  left:35%;
  background-color:#000;
  border-radius:15px;
}
.camera2:before{
  content:"";
  display:block;
  width:100%;
  height:3px;
  position:absolute;
  top:30%;
  left:0%;
  background-color:#fff;
}
.camera2 span{
  display:block;
  width:20px;
  height:10px;
  position:absolute;
  top:-15%;
  left:40%;
  background-color:#000;
}

.camera2 span:after{
  display:block;
  content:"";
  width:10px;
  height:3px;
  position:absolute;
  top:15%;
  left:25%;
  background-color:#fff;
}

.camera2 span:before{
  display:block;
  content:"";
  width:10px;
  height:3px;
  position:absolute;
  top:25%;
  left:-80%;
  background-color:#000;
}
.camera3{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera3:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:4px solid #fff;
  position:absolute;
  top:20%;
  left:35%;
  background-color:#000;
  border-radius:15px;
}
.camera3:before{
  content:"";
  display:block;
  width:100%;
  height:3px;
  position:absolute;
  top:30%;
  left:0%;
  background-color:#fff;
}

.camera3 span{
  display:block;
  width:10px;
  height:5px;
  position:absolute;
  top:7%;
  left:70%;
  background-color:#fff;
}
.camera3 span:after{
  display:block;
  content:"";
  width:10px;
  height:5px;
  position:absolute;
  top:-100%;
  left:-300%;
  background-color:#000;
}
.camera4{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera4:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:7px solid #fff;
  position:absolute;
  top:15%;
  left:25%;
  background-color:#000;
  border-radius:15px;
}
.camera4:before{
  content:"";
  display:block;
  width:50%;
  height:10px;
  position:absolute;
  top:-16%;
  left:25%;
  background-color:#000;
  border-radius:10px;
}
.camera5{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
}
.camera5:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:4px solid #fff;
  position:absolute;
  top:30%;
  left:30%;
  background-color:#000;
  border-radius:15px;
}
.camera5:before{
  content:"";
  display:block;
  width:25%;
  height:7px;
  border:2px solid #fff;
  position:absolute;
  top:0%;
  left:2%;
  background-color:#000;
}
.camera5 span{
  display:block;
   width:25%;
  height:8px;
  position:absolute;
  top:0%;
   border:2px solid #000;
  left:30%;
  background-color:#fff;
}
.camera5 span:after{
  content:"";
  display:block;
  width:75%;
  height:6px;
  border:2px solid #fff;
  position:absolute;
  top:-10%;
  left:105%;
  background-color:#000;
}
.camera5 span:before{
  content:"";
  display:block;
  width:50%;
  height:6px;
  border:1px solid #000;
  position:absolute;
  top:-10%;
  left:205%;
  background-color:#fff;
}

.camera6{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera6:after{
  content:"";
  display:block;
  width:20px;
  height:20px;
  border:4px solid #fff;
  position:absolute;
  top:15%;
  left:40%;
  background-color:#000;
  border-radius:15px;
}
.camera6:before{
  content:"";
  display:block;
   width: 20px;
   border-bottom: 10px solid #000;
   border-left: 5px solid transparent;
   border-right: 5px solid transparent;
  position:absolute;
  top:-15%;
  left:20%;
  border-radius:5px;
}

.camera6 span{
  display:block;
  width:10px;
  height:5px;
  position:absolute;
  top:7%;
  left:10%;
  background-color:#fff;
}

.camera7{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
}
.camera7:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:4px solid #fff;
  position:absolute;
  top:30%;
  left:40%;
  background-color:#000;
  border-radius:15px;
}
.camera7:before{
  content:"";
   content:"";
  display:block;
  width:90%;
  height:5px;
  position:absolute;
  top:10%;
  left:5%;
  background-color:#fff;

}

.camera7 span{
   display:block;
   width: 5px;
   height:5px;
  position:absolute;
  top:-10%;
  left:10%;
  background-color:#000;
}

.camera8{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera8:after{
  content:"";
  display:block;
  width:20px;
  height:20px;
  border:4px solid #fff;
  position:absolute;
  top:15%;
  left:40%;
  background-color:#000;
  border-radius:15px;
}
.camera8:before{
  content:"";
  display:block;
   width: 20px;
   border-bottom: 10px solid #000;
   border-left: 5px solid transparent;
   border-right: 5px solid transparent;
  position:absolute;
  top:-15%;
  left:20%;
  border-radius:5px;
}

.camera8 span{
  display:block;
  width:7px;
  height:5px;
  position:absolute;
  top:-10%;
  left:75%;
  background-color:#000;
}

.camera9{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera9:after{
  content:"";
  display:block;
  width:15px;
  height:15px;
  border:4px solid #fff;
  position:absolute;
  top:30%;
  left:35%;
  background-color:#000;
  border-radius:15px;
}
.camera9:before{
  content:"";
  display:block;
  width:15%;
  height:85%;
  position:absolute;
  top:10%;
  left:5%;
  background-color:#fff;
  border-radius:2px 0px 0px 2px;
}

.camera9 span{
  display:block;
  width:10px;
  height:5px;
  position:absolute;
  top:7%;
  left:70%;
  background-color:#fff;
}
.camera9 span:after{
  display:block;
  content:"";
  width:10px;
  height:5px;
  position:absolute;
  top:-100%;
  left:-300%;
  background-color:#000;
}


.camera10{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
  border-radius:5px;
}
.camera10:after{
  content:"";
  display:block;
  width:20px;
  height:20px;
  border:4px solid #fff;
  position:absolute;
  top:15%;
  left:40%;
  background-color:#000;
  border-radius:15px;
}
.camera10:before{
  display:block;
  width:10px;
  height:5px;
  position:absolute;
  top:7%;
  left:10%;
  background-color:#fff;
    content:"";
}

.camera10 span{
   content:"";
  display:block;
   width: 20px;
   height:4px;
  position:absolute;
  top:-10%;
  left:30%;
  background-color:#000;
}
.camera10 span:after{
   content:"";
  display:block;
   width: 10px;
  height:5px;
  position:absolute;
  top:-80%;
  left:30%;
  background-color:#000;
}
.camera10 span:before{
   content:"";
  display:block;
   width: 15px;
  height:5px;
  position:absolute;
  top:-250%;
  left:5%;
  background-color:#fff;
  border:3px solid #000;
}
.camera11{
  display:block;
  width:65%;
  height:45%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#fff;
  border:3px solid #000;
}
.camera11:after{
  content:"";
  display:block;
  width:25px;
  height:25px;
  border:4px solid #fff;
  position:absolute;
  top:7%;
  left:20%;
  background-color:#000;
  border-radius:15px;
}
.camera11:before{
  display:block;
  width:10px;
  height:3px;
  position:absolute;
  top:-18%;
  left:10%;
  background-color:#000;
   content:"";
}

.camera12{
  display:block;
  width:70%;
  height:50%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#000;
}
.camera12:after{
  content:"";
  display:block;
  width:20px;
  height:20px;
  border:4px solid #fff;
  position:absolute;
  top:15%;
  left:40%;
  background-color:#000;
  border-radius:15px;
}
.camera12:before{
  content:"";
  display:block;
   width: 10px;
   height:5px;
  position:absolute;
  top:-15%;
  left:20%;
  background-color:#000;
}

.camera12 span{
  display:block;
  width:10px;
  height:5px;
  position:absolute;
  top:7%;
  left:10%;
  background-color:#fff;
}
.camera13{
  display:block;
  width:65%;
  height:45%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#fff;
  border:3px solid #000;
}
.camera13:after{
  content:"";
  display:block;
  width:25px;
  height:25px;
  position:absolute;
  top:15%;
  left:25%;
  background-color:#000;
  border-radius:15px;
}
.camera13:before{
  content:"";
  display:block;
   width: 20px;
   border-bottom: 10px solid #000;
   border-left: 5px solid transparent;
   border-right: 5px solid transparent;
  position:absolute;
  top:-25%;
  left:20%;
  border-radius:5px;
}

.camera13 span{
  display:block;
  width:10px;
  height:5px;
  position:absolute;
  top:7%;
  left:10%;
  background-color:#000;
}
.camera14{
  display:block;
  width:65%;
  height:45%;
  position:absolute;
  top:30%;
  left:15%;
  background-color:#fff;
  border:3px solid #000;
}
.camera14:after{
  content:"";
  display:block;
  width:25px;
  height:25px;
  border:3px solid #fff;
  position:absolute;
  top:10%;
  left:40%;
  background-color:#000;
  border-radius:15px;
}
.camera14:before{
   content:"";
  display:block;
  width:100%;
  height:10px;
  position:absolute;
  top:0%;
  left:0%;
  background-color:#000;

}

.camera14 span{
   display:block;
   width: 15px;
   height:10px;
  position:absolute;
  top:-15%;
  left:10%;
  background-color:#000;
}
.camera14 span:after{
  content:"";
   display:block;
   width: 15px;
   height:15px;
  position:absolute;
  bottom:-200%;
  left:145%;
  z-index:100;
  background-color:#fff;
  border-radius:15px;
}
              
            
!

JS

              
                
              
            
!
999px

Console