4 ms·
It'd be nice to see an example of the button being a hyperlink to see if I could right click and open in new window or use mouse gestures with it. I tried just
by superkuh 6y ago
It'd be nice to see an example of the button being a hyperlink to see if I could right click and open in new window or use mouse gestures with it. I tried just putting a <a href=""></a> within the class="FinalButton__Contents-shq40f-3 eFOYWi span and the link was non-functional in all GUI browsers I tried. Why bother not making it from JS when you have to use JS to actually use the button?
This button also does not render at all in browsers older than a handful of years. This might be good for a fun, hip project or something commercial where the customer base is small and well characterized. But if it's a site you where expect all kinds of people from all walks of life this isn't going to cover it.
The next step should be to implement it in a way that falls back safely so the function is always accessible even if the fancy animation isn't.
- applecrazy 6y agoIt does work. The following markup rendered a button that as also a standard anchor tag: <a class="pushable" href="//google.com"> <span class="front"> Push me </span> </a>