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

Removes the node from its parent and cleans the parent properties from the node and its children.

if (decl.prop.match(/^-webkit-/)) {
  decl.remove()
}

Returns

this

Node to make calls chain.