Attach display only's to #jacket

I don’t yet understand why, but it’s not working when :not is attached
to <div>