Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
## 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
You can’t perform that action at this time.