DEV Community

Discussion on: Breaking the law with <fieldset>

Collapse
jfbrennan profile image
Jordan Brennan Author

M- is like Bootstrap in the sense that it’s a ready-to-use collection of UI components and utility classes.

The purpose of this article is to just highlight how M- simply uses fieldset in a somewhat unconventional way rather than adding bloat like Bootstrap or similar. They require a div plus “input” classes, whereas M- just says fieldset all the things! I think it makes for much cleaner form code and avoids the extraneous input classes.