For targeting an html query selector element with a partial class, `[class*="btn-"]` is the simplest solution.
If you’re working with a lot of dynamic classes, you *could* use regex, but it’s slower and harder to read.
CSS selectors are your best bet—fast and reliable.
If you’re working with a lot of dynamic classes, you *could* use regex, but it’s slower and harder to read.
CSS selectors are your best bet—fast and reliable.
