JSFiddle - React, Tailwind, and code Playground

HTML

<ion-content has-header="true">
  <ion-card id="content">
    <ion-avatar id="profile-info">
      <img id="profile-image" src="http://s9.postimg.org/41fwo4k4v/pro.png">
    </ion-avatar>
  </ion-card>
</ion-content>

CSS

#content {
  position: relative;
  // margin-top: auto;
  background-color: green;
  box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.4);
  /* padding-top:200px; */
      height: 150px;
    width: 100%;
    display: block;
    margin-top: 100px;
}

#profile-info {
  position: absolute;
  top: -95px;
  width: 100%;
  z-index: 2;
  text-align: center;
}

#profile-image {
  display: block;
  border-radius: 120px;
  border: 1px solid #fff;
  width: 128px;
  height: 128px;
  margin: 30px auto 0;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
}