- From: Jean-Baptiste Cordina <jbcordina@gmail.com>
- Date: Tue, 21 Oct 2014 10:34:16 +0200
- To: www-style@w3.org
Received on Thursday, 23 October 2014 20:50:06 UTC
Hi,
I'm working on a website with multiples languages. And it's a huge thing to
redefine text-alignments for some components. So I wonder if it is possible
to add a new value to the text-align property.
For example :
text-align : opposite;
my-component {
text-align : left;
}
[dir=rtl] my-component {
text-align: right;
}
my-component .read-more {
text-align : opposite; // depends on the uppervalue, but I don't have to
rewrite this rule.
}
Thx.
Jean-Baptiste Cordina
Received on Thursday, 23 October 2014 20:50:06 UTC