Forms – the most known issues
Do you know any frontend developer who hasn't built any form in HTML/CSS? Do you know any of them who like to do this work? Yeah… It's not simple to adjust it, but you need to learn to understand what you can do with HTML/CSS and where you need to use JavaScript code to make it easier or even possible.
The most known restrictions are as follows:
Usage of pseudoelements
:before
and:after
is not allowed because the input has no content (:before
and:after
appear before or after the content)Usage of global input styles is not good because of lots of types of inputs (text, password, submit)
Styling of displayed elements in the selected box is not possible at all (sometimes it is easier to use some JavaScript plugin to enable additional structure, which is easier for styling)