Preface: The use of Hack has always been discouraged. We should know the reasons as much as possible and solve the problem fundamentally instead of Hacking when we encounter problems. We should "do no evil" to the code and use it as little as possible or even without it.
For IE8 you can try the following Hack:
/*/ selector { … } /**/
This rule is only recognized by IE8, not other A-grade browsers.