A list of all CSS toolchains ever made (parsers, preprocessors, and transformers, NOT style kits like Bootstrap).
Name | Description | Created | Deprecated | Notes |
---|---|---|---|---|
Sass | GOATed preprocessor | 2006 | O |
A list of all CSS toolchains ever made (parsers, preprocessors, and transformers, NOT style kits like Bootstrap).
Name | Description | Created | Deprecated | Notes |
---|---|---|---|---|
Sass | GOATed preprocessor | 2006 | O |
Ever encounter the following error when trying to do the following?
<div style={{ '--height': '32px' }}>
~~~~~~~~~~~~~~~~~~
// Type '{ "--height": string; }' is not assignable to type 'Properties<string | number, string & {}>'.
// Object literal may only specify known properties, and '"--height"' does not exist in type 'Properties<string | number, string & {}>'.
Convert every possible RGB value to HSL to map the overlapping color space.
node map-hsl.js
)javascript:(()=>{function a(a){let b=a.cloneNode(!0);return b.querySelectorAll("a,b,br,code,em,i,mark,p,span,strong,strike").forEach(a=>{switch(a.tagName){case"A":{a.replaceWith(document.createTextNode("["),...a.childNodes,document.createTextNode("]"),document.createTextNode("("),document.createTextNode(a.getAttribute("href")),document.createTextNode(")"));break}case"B":case"STRONG":{a.replaceWith(document.createTextNode("**"),...a.childNodes,document.createTextNode("**"));break}case"BR":{a.replaceWith(document.createTextNode("\n"));break}case"EM":case"I":{a.replaceWith(document.createTextNode("_"),...a.childNodes,document.createTextNode("_"));break}case"CODE":{a.replaceWith(document.createTextNode("`"),...a.childNodes,document.createTextNode("`"));break}case"STRIKE":{a.replaceWith(document.createTextNode("~~"),...a.childNodes,document.createTextNode("~~"));break}case"MARK":case"SPAN":{a.replaceWith(...a.childNodes);break}case"P":{a.replaceWith(...a.childNodes,document.createTextNode("\n\n"));break}}}),b.inne |
/** | |
* fetch() with retries | |
* @param {string} url URL to fetch | |
* @param {object} options All options required | |
* @param {number} options.timeout Max timeout, in milliseconds (default: 5000) | |
* @param {retries} options.retries Max number of retries (default: 2) | |
*/ | |
async function fetchWithRetry(url, { timeout, retries } = { timeout: 5000, retries: 2 }) { | |
let data; | |
let controller; |
[ | |
"abdominal", | |
"abrupt", | |
"absolute", | |
"academic", | |
"acceptable", | |
"acclaimed", | |
"accomodating", | |
"accountable", | |
"accurate", |