TIL — reset css position that have already been applied (top, left, right, bottom)

TIL - today i learned

It is possible to override a css position property applied by setting it to auto, a common scenario is when a top value is applied but you want to apply a bottom value later on, in that scenario the element will still remain at top.

setting top: auto will instead release the element and let the bottom rule win

http://codepen.io/api/oembed/?url=http://codepen.io/kandros/pen/dXwQOV


Originally published at blog.jagasantagostino.com on August 11, 2016.