Toggle css class and use css content for anchor