<p class="foo">foo</p>
<p class="bar">bar</p>

<style>
	:not(.foo) {
		color: red;
	}
</style>