Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Node.prototype.toString
Re-export
import { Node } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

Returns a CSS string representing the node.

new Rule({ selector: 'a' }).toString() //=> "a {}"

Parameters

optional
stringifier: Stringifier | Syntax

A syntax to use in string generation.

Returns

string

CSS string of this node.