I know you can import a css file that contains, let's say:
div {
color: black;
}
div:hover {
color: red;
}
but is there a way to get the same effect but in the html?
So something with
<div style="color: black;"></div>
I KNOW you can do it with js, but I just wanted to know if there were a hack for it.. And no the "duplicate" question did not contain the answer I was looking for, keep in mind that was 4 years ago.