Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bundler/deps.ts>postcss.Node#toString

A Bundler with the web in mind.
Go to Latest
method postcss.Node.prototype.toString
Re-export
import { postcss } from "https://deno.land/x/bundler@0.6.5/deps.ts";
const { Node } = postcss;

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.