The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Selector for the margin-top and margin-bottom of an element › Reply To: Selector for the margin-top and margin-bottom of an element
You are right, I need to use :before :after,
but your code is incomplete,
because my CSS skill is SUCKS so I can’t adopt it to my usage.
Someone over at Stackoverflow solved this problem in case anyone have the same problem http://stackoverflow.com/a/39381696/3390639