<div class="imc"><img src="https://habrastorage.org/r/w120/webt/5b/00/a3/5b00a3a789dc2497547250.png"></div>
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
  display: flex;
  justify-content: center;
}
.imc{
  position: relative;
  display: flex;
  width: 30mm;
  height: 30mm;
  margin-top: 10mm;
  padding-top: 0;
  border: 1mm solid #444;
  border-radius: 15mm;
  overflow: hidden;
  transition: 0.3s;
  vertical-align: bottom;
  align-items: bottom;
}
.imc:before{
  content: '';
  position: absolute;
  width: 25mm;
  height: 25mm;
  left: 1.5mm;
  bottom: 1.5mm;
  background: #aaa;
  border-radius: 50%;
  z-index: -1;
}
.imc:hover{
  margin-top: 0mm;
  padding-top: 10mm;
  height: 40mm;
}
.imc img{
  object-fit: contain;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.