SkillAgentSearch skills...

BritCSS

Fixes CSS to use non-bastardised spellings.

Install / Use

/learn @DeclanChidlow/BritCSS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <h1> BritCSS

Stars Forks Pull Requests Issues Contributors Licence

</h1> Fixes CSS to use non-bastardised spellings </div> <br/>

Permits using English (traditional) spellings for CSS properties, rather than English (simplified).

Because this is implemented with a client-side script. You can use this to properise the CSS of any page.

Demo on CodePen
Coverage on Hackaday

Usage

To use this script, simply include it in your HTML:

<script src="https://cdn.jsdelivr.net/gh/DeclanChidlow/BritCSS/britcss.js"></script>

To enter debug mode:

britCSS.debug(true);

To stop the script from converting:

britCSS.shutdown();

Usage Examples:

  1. In a CSS file:
body {
  background-colour: red;
}
  1. In a HTML style tag:
<style>
  body {
    background-colour: red;
  }
</style>
  1. In an inline HTML style:
<body style="background-colour: red;"></body>
  1. Manually with JS:
const cssText = "background-colour: black; colour: white;";
const converted = britCSS.convertCSS(cssText);
console.log(converted);

See Also

Related Skills

View on GitHub
GitHub Stars170
CategoryDevelopment
Updated20d ago
Forks2

Languages

JavaScript

Security Score

85/100

Audited on Mar 11, 2026

No findings