Devographics / StateOfCSS-2019

The State of CSS website - 2019 edition
https://stateofcss.com/
54 stars 17 forks source link

What is the proper way to load an extra CSS file? #43

Closed Goudarz closed 4 years ago

Goudarz commented 5 years ago

I am working on translation to Persian, which is Right-to-left language. For that, I need to customize the CSS to load the pages in the proper format.

SachaG commented 5 years ago

Oh right. I think maybe we can just load that file all the time, but add the current locale as a class to the body or the main wrapper to scope all styles?

Goudarz commented 5 years ago

@SachaG I want to put the rtl.css file in the head tag.