How was this marker created?

I am trying to learn how to do this marker at http://www.newezra.com/

how do you make snap back when you rollOut, and also change the width to the size of the btn??

Thanks!!!