Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bundler/deps.ts>postcss.Container#push

A Bundler with the web in mind.
Go to Latest
method postcss.Container.prototype.push
Re-export
import { postcss } from "https://deno.land/x/bundler@0.6.5/deps.ts";
const { Container } = postcss;

Add child to the end of the node.

rule.push(new Declaration({ prop: 'color', value: 'black' }))

Parameters

child: ChildNode

New node.

Returns

this

This node for methods chain.