Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save s1r-J/295e56b7614259335a5807c8ef7221b2 to your computer and use it in GitHub Desktop.
Save s1r-J/295e56b7614259335a5807c8ef7221b2 to your computer and use it in GitHub Desktop.
add CSS opacity property to config of Selection-js
<script src="selection.min.js"></script>
<script>
var selection = new Selection();
selection.config({
facebook: true,
twitter: true,
search:true,
copy:true,
speak:true,
backgroundColor: 'crimson',
iconColor: '#fff',
opacity: 0.8,
}).init();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment