Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_bundler/deps.ts>postcss.Container#insertAfter

A Bundler with the web in mind.
Latest
method postcss.Container.prototype.insertAfter
Re-export
import { postcss } from "https://deno.land/x/deno_bundler@v0.9.1/deps.ts";
const { Container } = postcss;

Insert new node after old node within the container.

Parameters

oldNode: Child | number

Child or child’s index.

newNode:
| Child
| string
| Child[]
| string[]

New node.

Returns

this

This node for methods chain.