I’d like to position something relatively absolutely, e.g. taking it out of the document flow and adjusting its position a few pixels. What’s a neat way to do this?
I’d like to position something relatively absolutely, e.g. taking it out of the document
Share
Just use
marginto shift the absolutely positioned element.HTML:
CSS:
Demo: jsfiddle.net/KXCkV