The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Getting :before element to obey main width and height (help!) › Re: [Solved] Getting :before element to obey main width and height (help!)
Small little fix:
http://codepen.io/ggilmore/pen/ybpGL
You were missing `position: relative;`.