簡體   English   中英

對於生成的html,不會在ie8中添加不透明度

[英]opacity not getting added in ie8 for generated html

我有一個動畫代碼,其中不透明度被添加到div標簽...但同時在IE8中沒有添加不透明度提供我的代碼下面...你們可以告訴我為什么它沒有被添加...

function soccerMatches(matches) {
    var $profile = $('.color'),
        matchesIds = [],
        $soccers;

    $.each(matches, function(i, match) {
        matchesIds.push('#profile' + match.title);
    });

    $soccers = $(matchesIds.join(', '));

    **$profile.not($soccers).css('opacity', 0.33);**
    $soccers.css('opacity', 1);

}

IE8不支持“不透明度”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM