Add margin-top only CSS reset to code style guidelines
This commit is contained in:
parent
002395946d
commit
7205a02b75
1 changed files with 1 additions and 1 deletions
2
AGENT.md
2
AGENT.md
|
|
@ -24,7 +24,7 @@ Minimal PHP for modern conveniences. Decade-scale maintainability. No volatile d
|
|||
|
||||
## Code Style
|
||||
**PHP:** Arrow functions, null coalescing, match. Type hints where practical. Single-purpose functions.
|
||||
**CSS:** Variables, native nesting, grid. `clamp()` over `@media`. Relative units.
|
||||
**CSS:** Variables, native nesting, grid. `clamp()` over `@media`. Relative units. Margin-top only (reset: `* { margin-bottom: 0 }`).
|
||||
**Templates:** `<?= htmlspecialchars($var) ?>` for UGC. `<?= $content ?>` for pre-rendered HTML.
|
||||
|
||||
## Project Structure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue