Created
October 25, 2013 20:01
-
-
Save trshafer/7160977 to your computer and use it in GitHub Desktop.
facebook-button.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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