Skip to content

Instantly share code, notes, and snippets.

@trshafer
Created October 25, 2013 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trshafer/7160977 to your computer and use it in GitHub Desktop.
Save trshafer/7160977 to your computer and use it in GitHub Desktop.
facebook-button.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.min.css" rel="stylesheet">
<style type="text/css">
.btn-facebook{
padding: 0px;
overflow: hidden;
}
.btn-facebook > *{
padding: 10px;
}
.btn-facebook > i {
display: block;
float: left;
width: 30px;
line-height: 2em;
}
.btn-facebook > span {
border-left: 1px solid red;
display: block;
margin-left: 30px;
text-indent: center;
line-height: 2em
}
</style>
</head>
<body>
<button type="button" class='btn btn-facebook btn-primary' data-loading-text="Signing in...">
<i class ="fa fa-facebook fa-fw"></i>
<span>Sign in with Facebook</span>
</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment