4 ms·
Hah I forget this is just a prompt. I'd suggest modifying the prompt to something like: - Use CSS 'display: grid;' for most UI elements - Use CSS grid justif
by nailer 3y ago
Hah I forget this is just a prompt.
I'd suggest modifying the prompt to something like:
- Use CSS 'display: grid;' for most UI elements
- Use CSS grid justify and align properties to place items inside grid elements
- Use padding to separate elements from their children elements
- Use gap to to separate elements from their sibling elements
- Avoid using margin at all
To produce modern-looking HTML without wrapper elements, floats, clearfixes or other hacks.
- abi 3y agoGood idea! Will try to incorporate that. The hardest thing about modifying the prompts is not having a good evaluation method for if it's making things better or worse.