argonMargin: Change tag margins

Description Usage Arguments Author(s) Examples

View source: R/typography.R

Description

Change tag margins

Usage

1
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

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

argonR documentation built on Dec. 1, 2019, 1:15 a.m.