簡體   English   中英

CSS縮放在IE10中無法正常工作

[英]CSS scaling is not working properly in IE10

我試圖擴展以下SVG路徑。 這在chrome和firefox中運行良好。 但在IE10中,它無法正常工作。 有什么建議么? 請在下面找到我的代碼。

 .two { transition: all 2s ease-in-out 0.5s; -webkit-transition: all 2s ease-in-out 0.5s; } #scale { height: 150px; width: 100px; text-align: center; margin: 0 auto; } #scale { border: 1px blue solid; } .grow:hover { transform: scale(2.0); /*-ms-transform: scale(2.0);*/ -webkit-transform: scale(2.0); } 
 <svg width="220" height="220"> <g transform="translate(110,110)"> <path d="M0 -43.3 50 43.3 -50 43.3Z" fill="yellow" stroke="blue" stroke-width="2" id="scale" class="grow two" /> </g> </svg> 

提前致謝。

如果您從“我可以用於SVG”中查看瀏覽器兼容性,您將找到類似此屏幕截圖的內容

這意味着IE10不支持<svg></svg>

瀏覽器兼容性

暫無
暫無

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

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