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

Insert new node after current node to current node’s parent.

Just alias for node.parent.insertAfter(node, add).

decl.after('color: black')

Parameters

newNode:
| Node
| string
| Node[]

New node.

Returns

this

This node for methods chain.