Indeed. There's nothing lost by rephrasing that to "Aha, good to know that you have not heard of CSS before! That means I will explain you some basics first, otherwise x and y will be incomprehensible to you."
Just go straight to explaining it helpfully. Don't make the knowledge gap itself a point of discussion at all.
Why not just explain the thing that needs explaining.