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

Removes all children from the container and cleans their parent properties.

rule.removeAll()
rule.nodes.length //=> 0

Returns

this

This node for methods chain.