R

  • Home
  • Blog
  • About

How to center a fixed positioned element with CSS

Here’s an easy way to center a variable width fixed positioned element using only css.

See the Pen vBoyj by Rodolfo Caldeira (@rodolfocaldeira) on CodePen

With a little bit of css trickery everything can be done.

05 Aug 2013

Built with Jekyll and powered by Github.
© 2010 - 2013 Rodolfo Caldeira