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
text-transform CSS css , sIFR.replace (phew!).
text-transform
css
sIFR.replace
:
sIFR.replace(myFont, { selector: 'h2', css: '.sIFR-root { font-size: 20px; color: #008cba; text-transform: uppercase; }', wmode: 'transparent' });
Source: https://habr.com/ru/post/1714098/More articles:Jerky Animations in WPF - c #Good school type projects or assignments for (re) learning C? - cEntity framework - detaching and reinstalling objects? - entity-frameworkView WPF master part with list and Combobox with binding - data-bindingiteration of object properties - javascriptget url from urloader? - flexWhy use typedef in this template? - c ++Setting up a Django admin using list_display? - djangoA few questions about PHP memcache - phpWhere to write code to draw a square in UITableViewCell on iPhone - iphoneAll Articles