diff --git a/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md index 6a2a4839..80b9a4f1 100644 --- a/resources/docs/user-guide/widgets-generics.md +++ b/resources/docs/user-guide/widgets-generics.md @@ -65,7 +65,10 @@ A widget object is a javascript object. All widgets share a set of generic prope #### `css` - type: `string` - default: *empty* -- usage: the `css` property can be used to override inherited [theming](theming.md) variables. Also, some widgets expose specific theming variables that allow a finer customization. Standard `css` properties can be applied to the widget's root element through this property. +- usage: the `css` property can be used to override inherited [theming](theming.md) variables. Also, some widgets expose specific theming variables that allow a finer customization. Standard `css` properties can be applied to the widget's root element through this property, `css` selectors can also be used apply custom styles to the widget's children. +- examples: + - `border-radius:5rem; .labelĀ {font-size: 20rem}` will round the widget's corners and increase its label's font-size and all its children's labels' + - `border-radius:5rem; > .labelĀ {font-size: 20rem}` will round the widget's corners and increase its label's font-size (the `>` selector targets only the direct children of the widget element) ---- ### OSC