Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fed_dev/deps.ts>postcss.Node#after

A Bundler with the web in mind.
Latest
method postcss.Node.prototype.after
Re-export
import { postcss } from "https://deno.land/x/fed_dev@0.9.0/deps.ts";
const { Node } = postcss;

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.