I am building a JS script with a theme included, in order to run multiple themes each classname has a prefix - this however makes the classnames somewhat long.

I also have CSS rules depending on wether or not the element has more classnames in order to provide special effects.

My question is will longer CSS classnames have an effect on performance, or will only wrong/faulty/inefficient use of selectors slow down performance?

Edit
Report