@import '../../style/themes/default';

.@{dndc-prefix}-image{
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #f2f2f2;
  &__wrapper {
    position: relative;
    height: 0;
  }
  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.25s ease-in;
  }
  &:hover{
    transition: all 0.2s ease-in;
  }
  &--aspectFill{
    img {
      top: 50%;
      left:50%;
      transform: translate3d(-50%, -50%, 0);
    }
  }
}

