A well-tested CSS minifier providing fast and efficient CSS optimization and minification.
93
Quality
Pending
Does it follow best practices?
Impact
93%
1.17xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
A utility that normalizes CSS stylesheets by optimizing border-radius property values to their most compact form.
The tool should process border-radius properties and optimize them by:
border-radius: 10px / 10px, it returns CSS with border-radius: 10px @testborder-radius: 5px 10px / 5px 10px, it returns CSS with border-radius: 5px 10px @testborder-radius: 10px / 5px, it preserves the slash notation as border-radius: 10px / 5px @test@generates
/**
* Normalizes CSS by optimizing border-radius properties
*
* @param {string} css - The CSS content to normalize
* @returns {string} The normalized CSS with optimized border-radius values
*/
function normalizeBorderRadius(css) {
// IMPLEMENTATION HERE
}
module.exports = {
normalizeBorderRadius
};Provides CSS minification and optimization capabilities.
@satisfied-by
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10