【发布时间】:2020-03-10 01:33:23
【问题描述】:
过滤反转在 IE (Internet Explorer) 中不起作用
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
</script>
<style>
.normalColor {
filter: invert(0%);
}
.invertedColor {
filter: invert(100%);
}
</style>
</head>
<body>
<U><b>Normal image</b></U><br>
<img id="home" src="image.png" alt="Smiley face" width="500" height="300" class="normalColor">
<br>
<U><b>Invert image</b></U><br>
<img id="home" src="image.png" alt="Smiley face" width="500" height="300" class="invertedColor">
</body>
</html>
【问题讨论】:
标签: jquery html css angular bootstrap-4