postcss-opacity icon indicating copy to clipboard operation
postcss-opacity copied to clipboard

Remove previous syntax ?

Open iamvdo opened this issue 10 years ago • 3 comments

What about previous syntax version ?

.e {
    opacity: .5;
    filter: alpha(opacity=50);
}

become

.e {
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
}

Should we remove it ? Old code have to be cleaned ?

iamvdo avatar Apr 29 '15 20:04 iamvdo

Why not use filter:alpha(opacity=50);? It’s smaller, simpler and works as intended.

niksy avatar Jun 29 '15 11:06 niksy

@niksy: https://github.com/iamvdo/postcss-opacity/issues/2

iamvdo avatar Jun 29 '15 13:06 iamvdo

@iamvdo oh, OK, this makes much more sense :)

niksy avatar Jun 29 '15 13:06 niksy