A simple illustration of my problem
import {BsFillArrowRightCircleFill} from "react-icons/bs";
export default function Icon(){
return <BsFillArrowRightCircleFill className='icon'/>;
}
In the CSS file, if I put
.icon {
color: red;
}
it would work fine. But if I add a global style like this
* {
color: yellow;
}
.icon {
color: red;
}
then the color would stay yellow. I can't figure out why this selector doesn't work.