title: HTML Style different from one Platform to another
body: <p>I am using Ionic2 and am need to get my styles to be consistent as possible between platforms.</p>
  
  <p>I have developed the following Login Page, and this is what it looks like in a <strong>web browser</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/aNOLX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aNOLX.png" alt="enter image description here"></a> </p>
  
  <p>When I deploy it to an <strong>Android Device</strong>, it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/SGSB4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SGSB4.jpg" alt="enter image description here"></a></p>
  
  <p>As you can see, the spacing is different, and the icons are absent on the Android Device.</p>
  
  <p><strong>Question</strong></p>
  
  <p>How do I get the Android Devices style to match web browser?</p>
  
  <p>My Code:</p>
  
  <p><strong>html</strong></p>
  
  <pre><code>&lt;ion-header&gt;
    &lt;ion-navbar id="search-navbar" hideBackButton="false"&gt;
      &lt;button ion-button menuToggle&gt;
        &lt;ion-icon name="menu"&gt;&lt;/ion-icon&gt;
      &lt;/button&gt;
      &lt;ion-navbar&gt;
        &lt;ion-title&gt;login&lt;/ion-title&gt;
      &lt;/ion-navbar&gt;
    &lt;/ion-navbar&gt;
  &lt;/ion-header&gt;
  
  
  &lt;ion-content&gt;
  
    &lt;div class="login"&gt;
      &lt;div class="login-button"&gt;
        &lt;button class="loginBtn loginBtn--facebook" (click)="loginFacebook()"&gt;
        Login with Facebook
      &lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="login-button"&gt;
        &lt;button class="loginBtn loginBtn--google" (click)="loginGoogle()"&gt;
        Login with Google
      &lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="login-button"&gt;
        &lt;button class="loginBtn loginBtn--email" (click)="loginEmail()"&gt;
        Login with Email
      &lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  &lt;/ion-content&gt;
  </code></pre>
  
  <p><strong>css</strong></p>
  
  <pre><code>.login{
    height: 100%;
    align-items: center;
    justify-content: center
  }
  
  .login-button{
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: center
  }
  
  body { padding: 2em; }
  
  
  /* Shared */
  .loginBtn {
    box-sizing: border-box;
    position: relative;
    width: 13em;
    height: 4em;
    margin: 0.2em;
    padding: 0 15px 0 46px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 16px;
    color: #FFF;
  }
  .loginBtn:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
  }
  .loginBtn:focus {
    outline: none;
  }
  .loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
  }
  
  
  /* Facebook */
  .loginBtn--facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
    text-shadow: 0 -1px 0 #354C8C;
  }
  .loginBtn--facebook:before {
    border-right: #364e92 1px solid;
    background: url(/assets/icon/icon_facebook.png) 6px 21px no-repeat;
  }
  .loginBtn--facebook:hover,
  .loginBtn--facebook:focus {
    background-color: #5B7BD5;
    background-image: linear-gradient(#5B7BD5, #4864B1);
  }
  
  
  /* Google */
  .loginBtn--google {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #DD4B39;
  }
  .loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url(/assets/icon/icon_google.png) 6px 21px no-repeat;
  }
  .loginBtn--google:hover,
  .loginBtn--google:focus {
    background: #E74B37;
  }
  
  /* Email */
  .loginBtn--email {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #7c7c7c;
  }
  .loginBtn--email:before {
    border-right: #666666 1px solid;
    background: url(/assets/icon/icon_email.png) -2px 12px no-repeat;
  }
  .loginBtn--email:hover,
  .loginBtn--email:focus {
    background: #888988;
  }
  </code></pre>