Please advise how you can arrange the text so that the upper half of each character is slightly darker than the bottom. Means css like to do it does not work, for sure there is a js-script for such a typical task.

Important : behind my text there will be a background with a complex pattern.

link text

As a result, the text should look something like this.

1 answer 1

alt text

http://jsfiddle.net/vLxuM/ where I spied, I do not remember.

  • If you try to copy such text by selecting it with the mouse, there will be a duplication effect. And if you can not copy it, it can better picture? ;) - Yura Ivanov
  • @Yura Ivanov here: jsfiddle.net/vLxuM/1 - lampa
  • Nah, in the opera anyway. - Yura Ivanov
  • one
    @Yura Ivanov can not wait to finally end the torture of developers from the opera :) long live the webkit! Selection can also be removed in another way, article in the topic: habrahabr.ru/post/18080 - lampa
  • @lampa do not want to breed holivar, but I support the fact that there are a lot of players on the market. Progress moves the competition and the opera does a lot to ensure that many features evolve. It may have shortcomings, but it is used by a huge number of people in the ex-USSR (a smaller percentage in the world). Regarding the prohibition of the selection of text - it is just a remark for who will realize that the selection and copying should be separately worked out. - Yura Ivanov