The basic idea is something like this: I have a div with a position of relative and a given width (40 pixels) and an input with width:100%. The problem is that instead of 40px when entering, its width is 100px.
As you can see in the last image, the input seems to be incomplete.
I can’t understand why here are some prints with structure:



source
share