site profile thumbnail

Description

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: https://tympanus.net/Development/ButtonStylesInspiration/ To view more daily interactions and premium content visit: https://www.webdevforyou.com/
webdevforyoudailyinteractioninteractionsbuttonctahover effectshoververtical-text

More sites by WebDev For You

See profile