Recently, I stumbled upon an interesting occurrence on a website I am currently working on. It appears to be something out of the ordinary and despite my efforts, I have found no explanations for it thus far. This has left me eager for someone to shed some light on the matter.
What caught my attention is an element that has been attributed with 2 classes in this particular format:
<div class = "class1, class2"></div>
This method of assigning multiple classes to one element seems unique to me, almost resembling a selector. Typically, I would expect classes to be added like so: (without a comma)
<div class = "class1 class2"></div>
Could this be a valid CSS technique that I am unaware of, or perhaps I have stumbled upon a peculiar glitch on the page?