I have set lang attribute in the "body" tag. I have different set of languages in my application. I need to set separate styling for all elements based on the different lang values.
e.g:
- if lang=es-cl, need to set different set of styling.
- if lang=pt-br, set different set of styling.
What is the best practice for achieving this (in using css only) ?.
Can I do something like the following (parent child something like that).
body:lang(it) {
.header {
...css styling..
}
.content .left-panel {
...css styling...
}
}
Thanks