Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method default.prototype.cloneBefore
import { default } from "https://deno.land/x/postcss@8.4.16/lib/node.js";

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