jQuery (edge), HTML, CSS, JavaScript
O(1) solution
This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.