Properties.Rmd
Property declarations are usually name/value pairs defining the value of a particular CSS property e.g. color: #ff0000
.
Property declarations can be added to styles during intialisation or an update e.g.
#> h1 {
#> color: #ff0000;
#> margin: 10px;
#> }
Since there are a few hundred different property names, the css_prop
helper makes use of auto-complete to help the user write property declarations.
The animation
and transform
properties are a bit more complex and have entries in css_prop
which are a more involved.
css_prop$animation(name = 'example', duration = 10, timing_function = 'ease',
iteration_count = 'infinite')
#> animation: example 10s infinite;