30秒学会 CSS 片段 – Donut spinner
Creates a donut spinner that can be used to indicate the loading of content. Use a semi-transparent ...
Creates a donut spinner that can be used to indicate the loading of content. Use a semi-transparent ...
Fades out the siblings of a hovered item. transition: opacity 0.2s specifies that changes to opacity...
Smooth-scrolls to the top of the page. Get distance from top using document.documentElement.scrollTo...
Performs right-to-left function composition. Use Array.prototype.reduce() to perform right-to-left f...
Returns a a list of n random integers in the specified range. Use List.generate() to generate a list...
Replaces the names of multiple object keys with the values provided. Use Object.keys() in combinatio...
Has the same functionality as Array.prototype.splice(), but returning a new array instead of mutatin...
Rounds a number to a specified amount of digits. Use Math.round() and template literals to round the...
Checks if the current environment is Travis CI. Checks if the current environment has the TRAVIS and...
Adds an ordinal suffix to a number. Use the modulo operator (%) to find values of single and tens di...