<-- test --!> BritCSS: Fixes CSS to use non-American English – Best Reviews By Consumers

BritCSS: Fixes CSS to use non-American English

news image

Fixes CSS to use non-bastardised spellings

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

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:

To stop the script from converting:

  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:
” dir=”auto”>

body style="background-colour: red;">body>
  1. Manually with JS:
const cssText = "back

Read More