CSSGrid
No edit summary
No edit summary
Line 8: Line 8:


If you do generic [[EXT Components|components]] you do not need to know the surroundings of your html snippet - placement it will be managed by the CSSGrid values read from the viewmodel.
If you do generic [[EXT Components|components]] you do not need to know the surroundings of your html snippet - placement it will be managed by the CSSGrid values read from the viewmodel.
[[Category:CSS]]

Revision as of 08:59, 5 December 2022

This page was created by Hans.karlsen@mdriven.net on 2018-10-10. Last edited by Stephanie@mdriven.net on 2025-01-23.

If you place a taggedValue on the ViewModel level CSSGrid=true we will render html with CSSGrid instead of Bootstrap.

If the TurnkeySettings file sees

<UseCSSGridByDefault>True</UseCSSGridByDefault>

we will always render with CSSGrid unless you explicitly say CSSGrid=false

Using CSSGrid has advantages since we know exactly where we place content and it is not dependent on the environment as Bootstrap is.

If you do generic components you do not need to know the surroundings of your html snippet - placement it will be managed by the CSSGrid values read from the viewmodel.