Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
CSS: Margin Top vs. Bottom (A Trick You Should Know)
(
matthewjamestaylor.com
)
2 points
by
popcalc
on May 24, 2024
|
hide
|
past
|
favorite
|
1 comment
spdustin
on May 25, 2024
[–]
.container * + * { margin-top: 1em; }
First, reset. Then, the lobotomized owl selector with top margin. Then decorate at will.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: