css - How do I use multiple selectors with sIFR? -
I have set up sIFR on one site and it is working correctly. Although I need to implement many styles based on class.
The job code is:
sIFR.replace (myriadpro, {selector: 'h2', css: '.sIFR-root {font-size: 20px; color: # 008cba; Text-Conversion: Creating Capital;} ', wmode:' transparent '});
However, I should be h2.white style enabled with a different font color. I just need to know how to add another selector.
Thank you in advance for help.
The easiest way to do this (arguably) on sIFR.replace
So call it, just call it with different selectors and style rules.
However, keep in mind that if you only have to apply the same settings to a set of other elements, then the selector
option is a comma-delimited list of the key selectors in one May be like regular CSS file.
Comments
Post a Comment