开发者

sIFR3 h2 span color

I wanted to add this to my previous question, sorry about this Mark.

I'm trying to display span in different colors and font weight, tried a bunch of combinations.

< h2 >title< span > different color < / span>< / h2 >

sIFR.replace(gotham, { selector: 'h2', css: [ '.sIFR-root { font-size:24px; color:#4a5659; font-family : Gotham Bold; letter-spa开发者_开发问答cing:-2; margin: 0 !important; margin-bottom:0;}' , 'span{ background-color: #ffffff; color: #993333; font-family : Gotham Light;}' ]

,filters: { DropShadow: { distance: 1 ,color: '#FFFFFF' ,strength: 2 ,alpha: .5 ,blurX: 0 ,blurY: 0

    }
  }

,wmode: 'transparent'

});


Flash doesn't let you select span elements by using a span selector (yes! really!). Give it a class and use that instead.

You can't specify different background colors within the sIFR text.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜