Fix invalid selector exception with empty class values

After removing :before and :after pseudo selectors, a class name may be empty, causing an invalid selector string when joined. Remove empty elements before calling querySelectorAll.
Update pseudoelements.html
fixed error with selectors, fixed error with gradient
white background fix
Merge pull request #1 from vlatkokaplan/FIXES-final

Fixes final