CSS Camera Icons

CSS Camera Icons

HTML
<div class="icon">
    <div class="camera"></div>
</div>
CSS
.icon{
  background: #32bea6;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
   
.icon .camera{
  background: #FFF;
  height: 60px;
  width: 80px;
  border-radius: 10px;
  position: relative;
}

.icon .camera:after{
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translate(0,-50%);
    border-style: solid;
    border-width: 25px 30px 25px 0;
    border-color: transparent #FFF transparent transparent;
    border-radius: 5px;
}
camera-icon
HTML
<div class="icon">
  <div class="camera-icon">
     <div class="camera-circle"></div>  
     <div class="camera-btn"></div>
  </div>
</div>
CSS
.icon{
  background: #32bea6;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
   
.icon .camera-icon{
  background: #626262;
  height: 60px;
  width: 90px;
  border-radius: 10px;
  position: relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.icon .camera-icon .camera-circle{
  width: 30px;
  height: 30px;
  border: 8px solid #FFF;
  border-radius: 50%;
}

.icon .camera-icon .camera-btn{
  width: 10px;
  height: 10px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 10px;
}

.icon-3 .camera-icon:after{
  content: '';
  position: absolute;
  top: -5px;
  background: #626262;
  width: 40px;
  height: 10px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}
camera-icon
HTML
<div class="icon">
    <div class="camera">
       <div class="circle-small"></div>
       <div class="circle-big"></div>
   </div>
</div>
SCSS
.icon {
  background: #32bea6;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  .camera {
    background: #FFF;
    height: 40px;
    width: 60px;
    border-radius: 10px;
    position: relative;
    margin-top: 15px;
    &:after {
      content: '';
      position: absolute;
      right: -15px;
      top: 50%;
      transform: translate(0, -50%);
      border-style: solid;
      border-width: 15px 25px 15px 0;
      border-color: transparent #FFF transparent transparent;
    }
    .circle-small {
      background: #FFF;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      position: absolute;
      top: -25px;
      left: 0px;
    }
    .circle-big {
      background: #FFF;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      position: absolute;
      top: -35px;
      right: 0px;
    }
  }
}
camera-icon
HTML
<div class="icon">
   <div class="camera">
     <div class="circle"></div>
     <div class="camera-top"></div>
  </div>
</div>
CSS
.icon{
  background: #32bea6;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
   
.icon .camera{
  background: #626262;
  height: 70px;
  width: 100px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.icon .camera .circle{
  width:50px;
  height: 50px;
  background: #FFF;
  border: 6px solid #FFF;
  border-radius: 50%; 
}

.icon .camera:after{
  content: '';
  position: absolute;
  top: -7px;
  width: 60px;
  border-top: 3px solid #FFF;
} 
camera-icon

DEMO

View Demo
1,211 Views
55190cookie-checkCSS Camera Icons

Leave a Reply

Your email address will not be published. Required fields are marked *