Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Polymer - positioning paper-fab?

I'm trying to make a Polymer paper-fab (floating action button) go in the bottom right corner of the screen. I also want it to disappear on scroll down but then come back on scroll up (like on the Google+ Android app). How do I do those 2 things? Here is the test site: http://www.infinitech.org/beta. Thanks a bunch for the help!

like image 797
Kyle Horkley Avatar asked Nov 27 '14 21:11

Kyle Horkley


1 Answers

For positioning:

<style>

    paper-fab {
        position: fixed;
        right: 25px;
        bottom: 30px;          
    }

</style>
like image 121
pomber Avatar answered Nov 16 '22 21:11

pomber