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

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.