I had an idea to do a search for "button" by clicking, which will be displayed and stretched. However, instead of using an invisible flag, I decided to try and use a label, since clicking on the label will focus on the element to which the label is attached. And although you do focus and do basic transformations, work, I can’t hide / show the text box with visibility: hidden/visibleor display: none/inline-block. And I don't want to just rely on opacity, as the text box can be found / clicked even if it is hidden.
Current try: JsFiddle
Why is this not working? What am I doing wrong?
source
share