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

Shortcut to clone the node and insert the resulting cloned node before the current node.

decl.cloneBefore({ prop: '-moz-' + decl.prop })

Parameters

optional
overrides: object

Mew properties to override in the clone.

Returns

this

New node