what's the shortest way to write this css? [duplicate]
问题 This question already has answers here : What do commas and spaces in multiple classes mean in CSS? (9 answers) Using regular expression in css? (8 answers) Closed 2 months ago . What's the shortest way to to make this css shorter in some kind of combined way? [data-pageid="187"] .sidebar-nav-heading { display: none; } [data-pageid="188"] .sidebar-nav-heading { display: none; } [data-pageid="189"] .sidebar-nav-heading { display: none; } 回答1: [data-pageid="187"] .sidebar-nav-heading, [data