Is CSS content property bad from SEO point of view, do search engines really scan the words which are injected using :before
and :after
selectors?
No, search engines do not care about what you put inside your css, js, alt tags, or even meta tags (keywords) as far as "positive" rankings go.
They will however try to detect if you are injecting spam, settings h1's with hidden keywords to display:none, setting a white background on white text, etc.
So ..anything not related to pure content, url & title can work against you, but never for you (some blackhats might not agree..).