Yes, it is necessary ... Although CSS is completely useless for SEO, as someone mentioned here before.