Hacker News new | ask | show | jobs
What CSS Needs: Granular Positioning (coderwall.com)
4 points by hackernews 4969 days ago
2 comments

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)
  }
I'd also like to see commonly JSed scenarios supported in CSS like toggles, slides, solid positioning