|
|
|
|
|
by Theodores
4 days ago
|
|
Imagine an article about sidewalks, there could be an explainer for Brits that explains that 'they mean the pavement' and another about 'customary units'. Americans would not need the explainers, so they could be made visible only to international readers with: [lang=en-us] aside { display:none; }
|
|
I can't see a way in CSS to detect the user agent preferred language, but you could do this in JS and add another attribute to the document or whatever.