Skip to content

Instantly share code, notes, and snippets.

@icegulch
Created January 11, 2014 17:22
Show Gist options
  • Save icegulch/8373820 to your computer and use it in GitHub Desktop.
Save icegulch/8373820 to your computer and use it in GitHub Desktop.
## CHANGE LANGUAGE DIRECTION ON CONTAINING UL
.product-listing {
list-style: none;
margin: 0;
padding: 0;
direction: rtl;
unicode-bidi: bidi-override;
font-size: 0; /* avoid word-spacing gap b/t LIs */
}
## RESET DIRECTION ON CONTAINED ELEMENTS
.product-listing > li * {
direction: ltr;
unicode-bidi: bidi-override;
font-size: 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment