瀏覽代碼

背景色兼容IE-9(3363)

zhangxc 5 年之前
父節點
當前提交
791b1f35a0
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 3 0
      src/css/knowledgeMap.less
  2. 2 0
      src/css/knowledgeTree.less

+ 3 - 0
src/css/knowledgeMap.less

@@ -7,6 +7,9 @@
         height: 40px;
         line-height: 40px;
         background-image: linear-gradient(to right, #5A8EEE , #7EABFF);
+       filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#1471da,endColorstr=#1C85FB);/*IE<9>*/
+        -ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#1471da, endColorstr=#1C85FB)";/*IE8+*/
+
     }
     .titleTxt{
         position: relative;

+ 2 - 0
src/css/knowledgeTree.less

@@ -5,6 +5,8 @@
         height: 40px;
         line-height: 40px;
         background-image: linear-gradient(to right, #5A8EEE , #7EABFF);
+        filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#1471da,endColorstr=#1C85FB);/*IE<9>*/
+        -ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#1471da, endColorstr=#1C85FB)";/*IE8+*/
     }
     .titleTxt{
         position: relative;