@import "../../globals.core";

// Img
// --------------------------------------------------

ion-img {
  position: relative;
  display: block;
}

ion-img img {
  display: block;
}

ion-img .img-placeholder {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: #eee;

  transition: opacity 200ms;
}

ion-img.img-loaded .img-placeholder {
  opacity: 0;
}
