case classCssUrlPrefixer(prefix: String) extends Parsers with Product with Serializable
Utility for prefixing root-relative urls in CSS with a given prefix.
Typically used to prefix root-relative CSS urls with the application
context path.
After creating the prefixer with the prefix you want to apply to
root-relative paths, call fixCss with a CSS string to return a fixed CSS
string.
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Utility for prefixing root-relative
url
s in CSS with a given prefix. Typically used to prefix root-relative CSSurl
s with the application context path.After creating the prefixer with the prefix you want to apply to root-relative paths, call
fixCss
with a CSS string to return a fixed CSS string.