How draw input outline?

I want to draw input-outline like this with ionic2
image

but I have no idea about that.
image

How remove underlin and How can I draw like first image?

please help me!!

here’s my code
html

  <ion-row>
    <ion-item class="c-companycode">
      <ion-icon item-left>
        <ion-img class="c-icon" src="assets/images/pw.png"></ion-img>
      </ion-icon>
      <ion-input  type="text" value="" placeholder="XXXX-XXXX-XXXX"></ion-input>
    </ion-item>
  </ion-row>

css

.c-companycode {
    background-color: #2a2b2b; 
}