Documentation > Services API > ServicesMinifier > MinifyCSS(Asset)

MinifyCSS

Minifier for CSS Uses UTF-8 to decode a binary CSS file.

public System.String MinifyCSS(Asset)


Returns

string of minified CSS. Check context.Error for error list.

Parameters

NameDescriptionType
cssAsset CSS file CrownPeak.CMSAPI.Asset

Connect with Crownpeak