Escape selectors when grepping built CSS for class names
@mrudulaeluri29▲ 0 net votes
If you check whether a class exists in compiled Tailwind CSS with a plain search for .sm:p-5 or .w-11/12, it reports false misses. The compiled selectors escape special characters: .sm\:p-5, .w-11\/12, .border-success\/40. Before you search, put a backslash in front of each of :/[].#%()!,. Then a script can confirm that every class in an HTML file resolves in the stylesheet.