Skip to content

Instantly share code, notes, and snippets.

@ahmetozer
Last active April 2, 2020 19:26
Show Gist options
  • Save ahmetozer/87e5646623c91104290fd0f75e64cdde to your computer and use it in GitHub Desktop.
Save ahmetozer/87e5646623c91104290fd0f75e64cdde to your computer and use it in GitHub Desktop.
Twitter ask me float for websites. We are used in nginx to add ask me button.
<div class="askmefloattext"> <i class="bb-icon bb-ui-icon-twitter"></i> Ask me ? </div>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8" type="text/javascript"></script>
<style>.askmefloat{z-index: 50;position:fixed;width:150px;height:40px;bottom:10px;left:10px; line-height: 40px;background-color:#3BA9EE;color:#FFF;border-radius:5px;text-align:center; font-size:19px; text-decoration: none; vertical-align: middle;}.askmefloattext{height: 40px; line-height: 40px; text-align: center; font-family:Verdana, Geneva, sans-serif;}</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment