Skip to content

Instantly share code, notes, and snippets.

@wpspeak
Last active April 16, 2019 14:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpspeak/ec8158a19deaccf3b229 to your computer and use it in GitHub Desktop.
Save wpspeak/ec8158a19deaccf3b229 to your computer and use it in GitHub Desktop.
How to Force Button to Be a The Center
<div class="button-center">
<a class="button" rel="bookmark" href="http://ituition.my/hello-world/">View Full Listing</a>
<a class="button button-right" rel="bookmark" href="http://ituition.my/hello-world/">Request Tutor</a>
</div>
<a class="button" rel="bookmark" href="#">View Full Listing</a>
.button-center {
text-align: center;
}
<a class="button" rel="bookmark" href="#">View Full Listing</a><a class="button button-right" rel="bookmark" href="#">Request Tutor</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment