toddle applies some default styling to elements using a reset stylesheet.
Reset stylesheets are crucial in web development to ensure consistency across different browsers. Browsers have their own default styles, which can lead to discrepancies in how web pages are rendered. We neutralize these default styles by applying a reset stylesheet, creating a clean slate.
Common reset stylesheets, like Eric Meyer's reset.css or the Normalize.css library, are widely used to achieve these benefits, making them a best practice in modern web development. We lean against these same styles in toddle, but a few modern twists.
All elements in toddle have "display: flex" by default, as we believe the flex display engine is more powerful, while also being easier to use than combining traditional block, inline, table, etc.