Skip to content

Make_css function  #53

@msgoussi

Description

@msgoussi

mycss <- make_css(list('table', c('text-align', 'font-size'), c('center', '20px')),
list('th', c('background-color', 'height'), c('lightgreen', '30px')))
Accordingly to the definition:
The second element of each list will be the style definitions. This can be a vector as well.
The third element of each list will be the values of the style definitions. This needs to be of the same lenght as the second element.

I am wondering if you could join second and third element in one such as

mycss <- make_css(list('table', c('text-align' = 'center', 'font-size' ='20px')))
It would be easier to under style definitions with its value
Or
mycss <- make_css(c('table' = "text-align:center;font-size:20px;"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions