Dark Hacker News
new
|
best
|
ask
|
show
|
jobs
What CSS Needs: Granular Positioning | Dark Hacker News
What CSS Needs: Granular Positioning
(coderwall.com)
4 points
by
hackernews
13 years ago
| 2 comments
protonfish
13 years ago
|
next
[−]
You can center fixed positioned elements in CSS already like so:
#mydiv { position: fixed; left: 50%; margin-left: (pixel offset relative from center of page) }
beghbali
13 years ago
|
next
[−]
I'd also like to see commonly JSed scenarios supported in CSS like toggles, slides, solid positioning