Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method default.prototype.remove
import { default } from "https://deno.land/x/postcss@8.4.16/lib/node.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.