site profile thumbnail


Welcome to Daily Interaction #113. Another quick button animation on hover. With this example two panels with text move out of the link-block-wrapper vertically when hovering over the button. The same text is placed in the top and bottom panels and offset from the bottom and top 50% so that when both panels are together it creates the entire word. Both panels have an overflow of hidden so the text outside of the panels doesn't show. Then on hover the panels with the text splits and reveals the full word in a different color behind it. The link-block-wrapper also has an overflow of hidden so the panels don't show beyond the wrapper. Inspired by the Tamaya button here: To view more daily interactions and premium content visit:
webdevforyoudailyinteractioninteractionsbuttonctahover effectshoververtical-text

More by WebDev For You

See profile