Skip to content

Instantly share code, notes, and snippets.

@miguel-perez
Created November 9, 2013 03:15
Show Gist options
  • Save miguel-perez/7381111 to your computer and use it in GitHub Desktop.
Save miguel-perez/7381111 to your computer and use it in GitHub Desktop.
Styling a specific language

How to Style a Specific Language

Questions? Hit me up: @Tayokoart

[dir=rtl] .invert { /* Attribute selector, by direction */
float: left;
}
[lang=ar] .invert { /* Attribute selector, by language */
float: left;
}
.invert:lang(ar) { /* Language pseudo-class */
float: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment