HTML should use unique IDs instead of classes?
aseemk opened this issue · comments
Right now we give our overall container a unique ID (#zoomit-lightbox
), but all the elements inside it have generic (though semantic) classnames (like background
, foreground
, info
, etc.). This means there's a potential chance for collision and CSS conflicts. Should we make all those unique IDs too? (E.g. #zoomit-lightbox-background
, etc.)