SIFR 3 Upper Case

Can someone explain how I can implement text conversion: uppercase; function with sIFR 3?

In the document, he explains how to use it, but I really don't know how to implement it. Can someone give an example?

Defines text conversion. This is handled by sIFR because Flash does not support it natively. It applies to all text, if you want to apply it to a specific element that you need, use the modifyContent function. If sIFR.forceTextTransform is false, sIFR will not perform the conversion.

thanks

+3
source share
1 answer

text-transform CSS css , sIFR.replace (phew!).

:

sIFR.replace(myFont, {
  selector: 'h2',
  css: '.sIFR-root { font-size: 20px; color: #008cba; text-transform: uppercase; }',
  wmode: 'transparent'
});
+2

Source: https://habr.com/ru/post/1714098/


All Articles