[Home](./index.md) > [@jsamr/counter-style](./counter-style.md) > [CounterStyleRenderer](./counter-style.counterstylerenderer.md) > [withNegative](./counter-style.counterstylerenderer.withnegative.md) ## CounterStyleRenderer.withNegative() method Create a new renderer which will render negative values by prefixing and suffixing the provided characters to the renderer function. See [CSS Counter Styles Level 3, Formatting negative values: the negative descriptor](https://www.w3.org/TR/css-counter-styles-3/#counter-style-negative). Signature: ```typescript withNegative(prefix: string, suffix?: string): CounterStyleRenderer; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | prefix | string | String prepended to counter representation. | | suffix | string | String appended to counter representation. | Returns: [CounterStyleRenderer](./counter-style.counterstylerenderer.md)