import { default } from "https://deno.land/x/postcss@8.4.16/lib/comment.d.ts";
Represents a comment between declarations or statements (rule and at-rules).
Once (root, { Comment }) {
let note = new Comment({ text: 'Note: …' })
root.append(note)
}
Comments inside selectors, at-rule parameters, or declaration values
will be stored in the raws
properties explained above.
Methods
assign(overrides: object | CommentProps): this
clone(overrides?: Partial<CommentProps>): this
cloneAfter(overrides?: Partial<CommentProps>): this
cloneBefore(overrides?: Partial<CommentProps>): this