title: How to fix "Google signin" button style in HTML Page?
body: <p>I have integrated the google signin button on my html page. but the sign in button doesn't fits into the exact space provided. How can i design custom button for google singin like the above given buttons like Facebook and twitter in the screen shot. </p>
  
  <p><a href="https://i.stack.imgur.com/6JnmI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6JnmI.png" alt="enter image description here"></a></p>
  
  <p>tried placing different button then  google singin links doesn't works.</p>
  
  <p>My html and CSS code:</p>
  
  <pre><code>&lt;div class="container"&gt;
    &lt;form action="/action_page.php"&gt;
      &lt;div class="row"&gt;
        &lt;h2 style="text-align:center"&gt;Login with Social Media&lt;/h2&gt;
      &lt;div class="col"&gt;
          &lt;a href="javascript:void(0);" onclick="fbLogin()" id="fbLink" class="fb btn" scope="public_profile,email" onlogin="checkLoginState();"&gt;
            &lt;i class="fa fa-facebook fa-fw"&gt;&lt;/i&gt; Login with Facebook
          &lt;/a&gt;
          &lt;a href="javascript:void(0);" class="twitter btn"&gt;
            &lt;i class="fa fa-twitter fa-fw"&gt;&lt;/i&gt; Login with Twitter
          &lt;/a&gt;
          &lt;a class="google btn"&gt;
          &lt;div class="g-signin2" data-width="570" data-height="30" data-longtitle="true"&gt;&lt;/div&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
        &lt;div class="data"&gt;
            &lt;p&gt;Profile Details&lt;/p&gt;
            &lt;img id="pic" class="img-circle" width="100" height="100"/&gt;
            &lt;p&gt;EMail Address&lt;/p&gt;
            &lt;p id="email" class="alert alert-danger"&gt;&lt;/p&gt;
            &lt;p id="name"&gt;
            &lt;button onclick="signOut()" class="btn btn-danger"&gt;SignOut&lt;/button&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>* {box-sizing: border-box}
  
  /* style the container */
  .container {
    position: relative;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px 0 30px 0;
  }
  
  /* style inputs and link buttons */
  input,
  .btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin: 5px 0;
    opacity: 0.85;
    display: inline-block;
    font-size: 17px;
    line-height: 20px;
    text-decoration: none; /* remove underline from anchors */
  }
  
  input:hover,
  .btn:hover {
    opacity: 1;
  }
  
  /* add appropriate colors to fb, twitter and google buttons */
  .fb {
    background-color: #3B5998;
    color: white;
  }
  
  .twitter {
    background-color: #55ACEE;
    color: white;
  }
  
  .google {
    background-color: #dd4b39;
    color: white;
  }
  
  .data {
        display: none;
      }
  
  
  /* style the submit button */
  input[type=submit] {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #45a049;
  }
  
  /* Two-column layout */
  .col {
    float: center;
    width: 50%;
    margin: auto;
    padding: 0 0px;
    margin-top: 6px;
  }
  
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* vertical line */
  .vl {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    border: 2px solid #ddd;
    height: 175px;
  }
  
  /* text inside the vertical line */
  .inner {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 8px 10px;
  }
  
  /* hide some text on medium and large screens */
  .hide-md-lg {
    display: none;
  }
  
  /* bottom container */
  .bottom-container {
    text-align: center;
    background-color: #666;
    border-radius: 0px 0px 4px 4px;
  }
  
  /* Responsive layout - when the screen is less than 650px wide, make the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 650px) {
    .col {
      width: 100%;
      margin-top: 0;
    }
    /* hide the vertical line */
    .vl {
      display: none;
    }
    /* show the hidden text on small screens */
    .hide-md-lg {
      display: block;
      text-align: center;
    }
  }
  </code></pre>