Re: directional images

On 02/24/2011 07:58 AM, Brad Kemper wrote:
>
> On Feb 23, 2011, at 1:00 PM, Tab Atkins Jr. wrote:
>
>> <ul dir=rtl>
>>   <li>ONE</li>
>> </ul>
>> <style>
>> ul {
>>   list-style-image: image( url("right-facing-arrow.jpg"), ltr );
>>   transition: list-style-image .2s;
>> }
>> ul:hover {
>>   list-style-image: image( url("highlight-right-arrow.jpg"), ltr );
>> }
>> </style>
>
> The parentheses embedded in parentheses are kind of hard to read.

That's because Tab's being excessively verbose. He should have just
written

   list-style-image: image("highlight-right-arrow.jpg" ltr)

~fantasai

Received on Thursday, 24 February 2011 17:43:40 UTC