Right, so this is a way to bend the world to your will.<p>The reason css properties have a standardized spelling is not to make fun of british spelling, but to have a standard that everyone could follow for interopabilitys sake.<p>If youre such a british language purist that you go this route, you will need to port/retrofit this hack to your future projects or you will once more have to debug why ”colour” doesnt do anything in your css declaration.<p>This is anti progression and a non-solution.<p>In addition, running this hack on the client side (really, why??) has additional downsides as color wont render right until after page load.<p>A solution for this non-issue would be scss preprocessor variable, something like this:<p><pre><code> $colour = ”color”
table {
$colour: red;
}
</code></pre>
TLDR: css is a standard, so learn it and work with it, not against it.