css - css 转换不适用于 IE11
问题描述
我使用转换将胡萝卜置于下拉菜单的中心,并且它在除 IE 之外的所有浏览器上都能完美运行
HTML
<div class="row ccu-faq-q-row">
<div class="ccu-faq-question">I’m not crazy about the new name. And I resent all the money --- has spent on naming the ----. How can I register my protest?</div>
<div class="ccu-faq-btn"><img class="faqArrow" src="img/ic-arrow.svg"></div>
</div>
css
.ccu-faqs .ccu-faq-btn img {
left: 50%;
position: relative;
top: 45%;
width: 24px;
-webkit-transform: translate(-50%, -50%);
-moz-box-shadow: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%); }
解决方案
推荐阅读
- android - 了解 Android Vitals 在 Play 商店控制台中提供的 ANR 日志
- vba - 将 .docx 中的字符串替换为 Excel 中的值,保留 Excel 大写
- c# - 创建反对角单位矩阵
- sql-server - 无法从 MYSQL 工作台 6.3 CE 连接到 MS SQL 服务器
- android - Xamarin Android Firebase 用户:如何获取创建日期
- python - jsons 中集合的最佳实践:array vs dict/map
- azure - 将 json 数组发布到 Azure 上的 Spring 控制器时出现 400 错误请求
- java - 在数据库中存储一个大字符串?
- microsoft-graph-api - 如何使用 Graph API 从共享点获取列表项
- java - 相同的 log4j2 xml 但输出不同