[英]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>
提前致謝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.