开发者

Can you set a line-height for sIFR3 r-436?

开发者 https://www.devze.com 2022-12-22 18:48 出处:网络
I have tried setting a line-height for sIFR3 in both the sifr-config.js and my web stylesheet but neither seem to apply a line-height?开发者_如何转开发I believe you\'re looking for the leading paramet

I have tried setting a line-height for sIFR3 in both the sifr-config.js and my web stylesheet but neither seem to apply a line-height?开发者_如何转开发


I believe you're looking for the leading parameter which corresponds to the flash value, not the "line-height" CSS property, e.g.:

sIFR.replace(fontName, {
        css: [
            ".sIFR-root { background-color:#000000; color:#ffff33; font-size:24px; leading:-10; }",
            ".bottom { color:#FFFFFF; font-size:15px; }",
        ],
        selector: "#featured-articles .widget-info p",
        fitExactly : false,
        transparent: true,
        tuneHeight: 0,
        tuneWidth: 0
    });
0

精彩评论

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