[lang="cmn-Latn-pinyin"] { color: red; } [lang="cmn-Hani"] { color: blue; } table { margin: auto; width: 90%; }