Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

grid_container_css

Generate template string representing CSS styles of grid container div.


Description

Generate template string representing CSS styles of grid container div.

Usage

grid_container_css(css_grid_template_areas, rows_height, cols_width)

Arguments

css_grid_template_areas

character, CSS value for grid-template-areas

rows_height

vector of character

cols_width

vector of character

Details

This is a helper function used in grid_template()

grid_container_css(
    "'a a a' 'b b b'",
    c("50%", "50%"),
    c("100px", "2fr", "1fr")
  )

returns

"display: grid;
   height: 100%;
   grid-template-rows: 50% 50%;
   grid-template-columns: 100px 2fr 1fr;
   grid-template-areas: 'a a a' 'b b b';
   {{ custom_style_grid_container }}"

Value

character


shiny.semantic

Semantic UI Support for Shiny

v0.4.2
MIT + file LICENSE
Authors
Filip Stachura [aut], Dominik Krzeminski [cre], Krystian Igras [aut], Adam Forys [aut], Paweł Przytuła [aut], Jakub Chojna [aut], Olga Mierzwa-Sulima [aut], Ashley Baldry [ctb], Jakub Chojna [ctb], Olga Mierzwa-Sulima [ctb], Pedro Manuel Coutinho da Silva [ctb], Paweł Przytuła [ctb], Kamil Żyła [ctb], Rabii Bouhestine [ctb], Appsilon Sp. z o.o. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.