Web Development, Web Components, Design Systems, Progressive Web App, HTML.
data-label>Email address</span> <input name="email" type="email" placeholder="john@doe.com"> </label> I’ve written a simple progressive enhancement that automatically expands controls with a ‘data-label’ attribute, to the structure shown above: <input name="email" required data-label="Email