pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

  • <legend id='nY1Ai'><style id='nY1Ai'><dir id='nY1Ai'><q id='nY1Ai'></q></dir></style></legend>
      <i id='nY1Ai'><tr id='nY1Ai'><dt id='nY1Ai'><q id='nY1Ai'><span id='nY1Ai'><b id='nY1Ai'><form id='nY1Ai'><ins id='nY1Ai'></ins><ul id='nY1Ai'></ul><sub id='nY1Ai'></sub></form><legend id='nY1Ai'></legend><bdo id='nY1Ai'><pre id='nY1Ai'><center id='nY1Ai'></center></pre></bdo></b><th id='nY1Ai'></th></span></q></dt></tr></i><div class="hkjztmf" id='nY1Ai'><tfoot id='nY1Ai'></tfoot><dl id='nY1Ai'><fieldset id='nY1Ai'></fieldset></dl></div>

    1. <tfoot id='nY1Ai'></tfoot>

      <small id='nY1Ai'></small><noframes id='nY1Ai'>

      • <bdo id='nY1Ai'></bdo><ul id='nY1Ai'></ul>

      1. Safari CSS Bug:動畫旋轉方向不正確?

        Safari CSS Bug: Animation Rotation Direction Incorrect?(Safari CSS Bug:動畫旋轉方向不正確?)
        <legend id='xdTxk'><style id='xdTxk'><dir id='xdTxk'><q id='xdTxk'></q></dir></style></legend>

        <tfoot id='xdTxk'></tfoot>
            <bdo id='xdTxk'></bdo><ul id='xdTxk'></ul>

                <tbody id='xdTxk'></tbody>

              <small id='xdTxk'></small><noframes id='xdTxk'>

                <i id='xdTxk'><tr id='xdTxk'><dt id='xdTxk'><q id='xdTxk'><span id='xdTxk'><b id='xdTxk'><form id='xdTxk'><ins id='xdTxk'></ins><ul id='xdTxk'></ul><sub id='xdTxk'></sub></form><legend id='xdTxk'></legend><bdo id='xdTxk'><pre id='xdTxk'><center id='xdTxk'></center></pre></bdo></b><th id='xdTxk'></th></span></q></dt></tr></i><div class="8lu7ysv" id='xdTxk'><tfoot id='xdTxk'></tfoot><dl id='xdTxk'><fieldset id='xdTxk'></fieldset></dl></div>
                • 本文介紹了Safari CSS Bug:動畫旋轉方向不正確?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在為我正在進行的項目編寫自定義動畫.這個想法是,動畫的目的是類似于一個感嘆號,從基線上脫臼,擺動片刻,然后完全從基線上掉下來.

                  I'm writing a custom animation for a project I'm working on. The idea is that the animation is meant to resemble an exclamation mark becoming unhinged from the baseline, swinging for a moment, and then falling off the baseline entirely.

                  由于某種原因,只有 Safari(OSX 和 iOS)拒絕將第一個動畫關鍵幀渲染為我制作的 CSS 動畫中的順時針旋轉.相反,它將關鍵幀渲染為逆時針動畫,但隨后可以正常處理以下動畫關鍵幀.

                  For some reason, only Safari (OSX and iOS) refuses to render the first animation keyframe as a clockwise rotation in a CSS animation I've made. Instead, it renders the keyframe as a counter-clockwise animation, but then works just fine for the following animation keyframes.

                  工作 CodePen 示例:http://codepen.io/michaelmarcialis/pen/obPYPO

                  Working CodePen example: http://codepen.io/michaelmarcialis/pen/obPYPO

                  @keyframes unhinged {
                    0% {
                      transform: rotate(0deg);
                    }
                    15% {
                      transform: rotate(240deg);
                    }
                    30% {
                      transform: rotate(125deg);
                    }
                    45% {
                      transform: rotate(220deg);
                    }
                    60% {
                      transform: rotate(145deg);
                    }
                    75% {
                      opacity: 1;
                      transform: rotate(200deg);
                    }
                    90% {
                      opacity: 0;
                      transform: translate(-0.5rem, 8.57142857142857rem) rotate(215deg);
                    }
                    95% {
                      opacity: 0;
                      transform: translate(0) rotate(0deg);
                    }
                    100% {
                      opacity: 1;
                      transform: rotate(0deg);
                    }
                  }
                  

                  所有其他瀏覽器按預期呈現動畫,第一個動畫關鍵幀順時針旋轉.Safari 是唯一在初始關鍵幀中應用逆時針旋轉的設備.我假設 Safari 這樣做是因為逆時針旋轉時旋轉的距離更短,但如果是這種情況,它就不能正確地遵守 CSS 規范.

                  All other browsers render the animation as intended, with the first animation keyframe rotating clockwise. Safari is the only one that applies a counter-clockwise rotation in the initial keyframe. I'm assuming Safari is doing this because the distance to travel the rotation is shorter when going counter-clockwise, but it's not honoring the CSS spec properly if that's the case.

                  有誰知道解決這個問題的方法嗎?

                  Does anyone know a remedy for this?

                  推薦答案

                  問題是,如果您嘗試在 safari 中為大于 180 度的旋轉設置動畫,它將改為以其他方式旋轉.因此,如果您嘗試旋轉 +270 度,Safari 將動畫旋轉 -90 度.

                  The problem is that if you try to animate a rotate in safari greater than 180 degrees, it will instead rotate the other way. So if you try to rotate +270 degrees, Safari will animate a rotation of -90 degrees.

                  Safari 的解決方法是在任一方向上都不要旋轉超過 179,然后在另一段中完成剩余的旋轉.

                  The workaround for Safari is to never rotate more than 179 in either direction, then complete the rest of the rotation in another segment.

                  這篇關于Safari CSS Bug:動畫旋轉方向不正確?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Safari 10.1: XMLHttpRequest with query parameters cannot load due to access control checks(Safari 10.1:由于訪問控制檢查,無法加載帶有查詢參數的 XMLHttpRequest)
                  Selenium WebDriver get text from CSS property quot;contentquot; on a ::before pseudo element(Selenium WebDriver 從 CSS 屬性“內容獲取文本在 ::before 偽元素上)
                  How to allow cross-domain requests in Safari?(如何在 Safari 中允許跨域請求?)
                  Alternatives for Javascript Synchronous XMLHttpRequest (as timing out in Safari)(Javascript 同步 XMLHttpRequest 的替代方案(在 Safari 中超時))
                  CSS Rotate Text Vertical - Extra Space on both sides(CSS垂直旋轉文本 - 兩側的額外空間)
                  Rotating 90 degrees in CSS in IE8 and lower(在 IE8 及更低版本的 CSS 中旋轉 90 度)

                    1. <small id='c9Es1'></small><noframes id='c9Es1'>

                            <bdo id='c9Es1'></bdo><ul id='c9Es1'></ul>

                            <tfoot id='c9Es1'></tfoot><legend id='c9Es1'><style id='c9Es1'><dir id='c9Es1'><q id='c9Es1'></q></dir></style></legend>
                          • <i id='c9Es1'><tr id='c9Es1'><dt id='c9Es1'><q id='c9Es1'><span id='c9Es1'><b id='c9Es1'><form id='c9Es1'><ins id='c9Es1'></ins><ul id='c9Es1'></ul><sub id='c9Es1'></sub></form><legend id='c9Es1'></legend><bdo id='c9Es1'><pre id='c9Es1'><center id='c9Es1'></center></pre></bdo></b><th id='c9Es1'></th></span></q></dt></tr></i><div class="3q83lwu" id='c9Es1'><tfoot id='c9Es1'></tfoot><dl id='c9Es1'><fieldset id='c9Es1'></fieldset></dl></div>
                              <tbody id='c9Es1'></tbody>
                          • 主站蜘蛛池模板: 环球周刊网| 宜兴市恺瑞德环保科技有限公司| 紧急切断阀_气动切断阀_不锈钢阀门_截止阀_球阀_蝶阀_闸阀-上海上兆阀门制造有限公司 | 热处理温控箱,热处理控制箱厂家-吴江市兴达电热设备厂 | 电位器_轻触开关_USB连接器_广东精密龙电子科技有限公司 | ★塑料拖链__工程拖链__电缆拖链__钢制拖链 - 【上海闵彬】 | 智慧养老_居家养老_社区养老_杰佳通 | 办公室家具_板式办公家具定制厂家-FMARTS福玛仕办公家具 | 深圳品牌设计公司-LOGO设计公司-VI设计公司-未壳创意 | 岩棉板|岩棉复合板|聚氨酯夹芯板|岩棉夹芯板|彩钢夹芯板-江苏恒海钢结构 | 美的商用净水器_美的直饮机_一级代理经销商_Midea租赁价格-厂家反渗透滤芯-直饮水批发品牌售后 | 紫外荧光硫分析仪-硫含量分析仪-红外光度测定仪-泰州美旭仪器 | 快速门厂家批发_PVC快速卷帘门_高速门_高速卷帘门-广州万盛门业 快干水泥|桥梁伸缩缝止水胶|伸缩缝装置生产厂家-广东广航交通科技有限公司 | 电磁流量计厂家_涡街流量计厂家_热式气体流量计-青天伟业仪器仪表有限公司 | 成都顶呱呱信息技术有限公司-贷款_个人贷款_银行贷款在线申请 - 成都贷款公司 | 潍坊大集网-潍坊信息港-潍坊信息网 | 威海防火彩钢板,威海岩棉复合板,威海彩钢瓦-文登区九龙岩棉复合板厂 | 变位机,焊接变位机,焊接变位器,小型变位机,小型焊接变位机-济南上弘机电设备有限公司 | 附着力促进剂-尼龙处理剂-PP处理剂-金属附着力处理剂-东莞市炅盛塑胶科技有限公司 | 十二星座查询(性格特点分析、星座运势解读) - 玄米星座网 | 自动配料系统_称重配料控制系统厂家 | 交通气象站_能见度检测仪_路面状况监测站- 天合环境科技 | 焊接烟尘净化器__焊烟除尘设备_打磨工作台_喷漆废气治理设备 -催化燃烧设备 _天津路博蓝天环保科技有限公司 | 贴片电容代理-三星电容-村田电容-风华电容-国巨电容-深圳市昂洋科技有限公司 | 昆明挖掘机修理厂_挖掘机翻新再制造-昆明聚力工程机械维修有限公司 | 不锈钢水箱厂家,不锈钢保温水箱-山东桑特供水设备 | 特种阀门-调节阀门-高温熔盐阀-镍合金截止阀-钛阀门-高温阀门-高性能蝶阀-蒙乃尔合金阀门-福建捷斯特阀门制造有限公司 | 高低温老化试验机-步入式/低温恒温恒湿试验机-百科 | 东莞精密模具加工,精密连接器模具零件,自動機零件,冶工具加工-益久精密 | 珠海白蚁防治_珠海灭鼠_珠海杀虫灭鼠_珠海灭蟑螂_珠海酒店消杀_珠海工厂杀虫灭鼠_立净虫控防治服务有限公司 | 水性漆|墙面漆|木器家具漆|水漆涂料_晨阳水漆官网 | 日本细胞免疫疗法_肿瘤免疫治疗_NK细胞疗法 - 免疫密码 | 鄂泉泵业官网|(杭州、上海、全国畅销)大流量防汛排涝泵-LW立式排污泵 | 台湾阳明固态继电器-奥托尼克斯光电传感器-接近开关-温控器-光纤传感器-编码器一级代理商江苏用之宜电气 | 一体化污水处理设备_生活污水处理设备_全自动加药装置厂家-明基环保 | 依维柯自动挡房车,自行式国产改装房车,小型房车价格,中国十大房车品牌_南京拓锐斯特房车 - 南京拓锐斯特房车 | 政府园区专业委托招商平台_助力企业选址项目快速落地_东方龙商务集团 | 淄博不锈钢,淄博不锈钢管,淄博不锈钢板-山东振远合金科技有限公司 | 荣事达手推洗地机_洗地机厂家_驾驶式扫地机_工业清洁设备 | 压装机-卧式轴承轮轴数控伺服压装机厂家[铭泽机械] | 金刚网,金刚网窗纱,不锈钢网,金刚网厂家- 河北萨邦丝网制品有限公司 |