argonMargin: Change tag margins

View source: R/typography.R

argonMarginR Documentation

Change tag margins

Description

Change tag margins

Usage

argonMargin(tag, orientation, value)

Arguments

tag

Tag to be treated.

orientation

Margin side. See https://getbootstrap.com/docs/4.1/utilities/spacing/.

value

Margin value, negative or positive. See https://getbootstrap.com/docs/4.1/utilities/spacing/.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

if (interactive()) {
 library(argonR)
 argonMargin(tag = h1("test"), orientation = "t", value = -1)
 argonMargin(tag = h1("test"), orientation = "x", value = 7)
}


RinteRface/argonR documentation built on Feb. 1, 2024, 4:40 p.m.