I am trying out code from this codepen https://codepen.io/aaroniker/pen/WNxoovJ and it works great on an input field inside a div with class url-input as shown in t
url-input