After and before pseudo elements

I have used the after and before pseudo elements for creating for creating button effects.But now i am not getting any effect in the output even after using the them.Any hacks to use them

websearch
https://css-tricks.com/almanac/selectors/a/after-and-before/

You should mention exact code!