The :lang() selector is used to select elements with a lang attribute with the specified value.

:lang(language) {
    css declarations;
}
p:lang(es) {
   color: #3366ff;
   background: #ffff99;
}

Click the button below to experiment with this selector.

Give it a Try!

2.0Firefox 8.0Explorer 4.0Chrome 3.1Safari 9.6Opera