CSS after and before should have two :: and not on :.