{"id":6981,"date":"2025-06-17T06:40:56","date_gmt":"2025-06-17T06:40:56","guid":{"rendered":"http:\/\/localhost\/?p=6981"},"modified":"2025-06-17T06:40:56","modified_gmt":"2025-06-17T06:40:56","slug":"animating-zooming-using-css-transform-order-is-important-sometimes","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=6981","title":{"rendered":"Animating zooming using CSS: transform order is important\u2026 sometimes"},"content":{"rendered":"<h2>Security Update News<\/h2>\n<h3>Update Information<\/h3>\n<table style=\"width:100%; border-collapse: collapse; margin-bottom: 20px;\">\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Title<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">Animating zooming using CSS: transform order is important\u2026 sometimes<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Update ID<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">JAKEARCHIBALD:94B17FEA499A78342F84C07F69DB9246<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Type<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">jakearchibald<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Published<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">2025-06-17T01:00:00<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Last Updated<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">2025-06-17T01:00:00<\/td>\n<\/tr>\n<\/table>\n<h3>Security Impact<\/h3>\n<table style=\"width:100%; border-collapse: collapse; margin-bottom: 20px;\">\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">CVSS Score<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">0.0<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Severity<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd; color: #666666; font-weight: bold;\">NONE<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Attack Vector<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\"><\/td>\n<\/tr>\n<\/table>\n<h3>Affected CVEs<\/h3>\n<div style=\" padding: 15px; border: 1px solid #ddd; margin-bottom: 20px;\">\n<ul style=\"margin: 0; padding-left: 20px;\">\n<\/ul>\n<\/div>\n<h3>Update Details<\/h3>\n<div style=\"; padding: 15px; border-left: 4px solid #4CAF50; margin-bottom: 20px;\">\nI was using Discord the other day. I tapped to zoom into an image, and it animated in an odd way that I&#8217;d seen before. Like this:<\/p>\n<p>![A Scottish wildcat](\/c\/cat-8a70acd2.webp) ![](\/c\/cat-zoomed-829b36bc.webp)<\/p>\n<p>Notice how it kinda &#8216;swoops&#8217; into the wildcat&#8217;s face, rather than zooming straight in? See how the right-hand side of the cat&#8217;s head goes out-of-frame, and then back in again?<\/p>\n<p>I recognised it immediately because I&#8217;d made the same mistake myself on another project.<\/p>\n<p>The CSS is pretty simple:<\/p>\n<p>    .demo {<br \/>      transition: transform 1s ease;<br \/>    }<br \/>    .demo.zoom {<br \/>      transform: scale(3) translate(-33.1%, 20.2%);<br \/>    }<\/p>\n<p>But watch this\u2026 If I change the starting transform from the default (`none`), to `rotate(0)`:<\/p>\n<p>    .demo {<br \/>      transition: transform 1s ease;<br \/>      transform: rotate(0);<br \/>    }<br \/>    .demo.zoom {<br \/>      transform: scale(3) translate(-33.1%, 20.2%);<br \/>    }<\/p>\n<p>The animation changes:<\/p>\n<p>![A Scottish wildcat](\/c\/cat-8a70acd2.webp) ![](\/c\/cat-zoomed-829b36bc.webp)<\/p>\n<p>Weird, huh? You wouldn&#8217;t expect something like `rotate(0)`, which is equivalent to `none`, to completely change how the animation works, but this is happening entirely as designed in the CSS spec.<\/p>\n<p>Let&#8217;s dig into why.<\/p>\n<p>## What caused the quirky animation?<\/p>\n<p>Let&#8217;s remove the `rotate(0)` for now and go back to the original code:<\/p>\n<p>    .demo {<br \/>      transition: transform 1s ease;<br \/>    }<br \/>    .demo.zoom {<br \/>      transform: scale(3) translate(-33.1%, 20.2%);<br \/>    }<\/p>\n<p>When zooming into part of an element, `scale(n) translate(x, y)` feels like the easiest way to do it. You use the `translate` to get the subject into the centre, then adjust the `scale` to zoom in. Tweaking the values in DevTools is easy, as is calculating the values in code.<\/p>\n<p>However, while this order of values is easy to write, it doesn&#8217;t produce the most natural animation.<\/p>\n<p>### How transforms are animated<\/p>\n<p>The CSS spec has a somewhat complex algorithm to decide how to animate transforms. For our values, it takes the `from` and `to` values:<\/p>\n<p>    @keyframes computed-keyframes {<br \/>      from {<br \/>        transform: none;<br \/>      }<br \/>      to {<br \/>        transform: scale(3) translate(-33.1%, 20.2%);<br \/>      }<br \/>    }<\/p>\n<p>\u2026and begins by padding them out, so they have the same number of components:<\/p>\n<p>    @keyframes computed-keyframes {<br \/>      from {<br \/>        transform: none none;<br \/>      }<br \/>      to {<br \/>        transform: scale(3) translate(-33.1%, 20.2%);<br \/>      }<br \/>    }<\/p>\n<p>Then, for each `from` and `to` pair of components, it converts them to use a common function that can express both types of value. In this case:<\/p>\n<p>    @keyframes computed-keyframes {<br \/>      from {<br \/>        transform: scale(1) translate(0, 0);<br \/>      }<br \/>      to {<br \/>        transform: scale(3) translate(-33.1%, 20.2%);<br \/>      }<br \/>    }<\/p>\n<p>Now that the transforms are in a similar format, it produces an animation that linearly interpolates each component separately. This means that the `scale` is animated linearly from `1` to `3`, and the `translate` is animated linearly from `0, 0` to `-33.1%, 20.2%`.<\/p>\n<p>The animation itself isn&#8217;t linear, as easing is applied, but linear interpolation is used as a starting point.<\/p>\n<p>The problem is, with `scale` followed by `translate`, the `scale` acts as a multiplier for the `translate` values. Therefore, as the `scale` increases, even though the `translate` values are interpolated linearly, the effect is non-linear:<\/p>\n<p>![A Scottish wildcat](\/c\/cat-8a70acd2.webp) ![](\/c\/cat-zoomed-829b36bc.webp)<\/p>\n<p>At the start of the animation, a 1px shift in the `translate` value results in a ~1px shift on screen, as the `scale` is ~1. But, towards the end of the animation, a 1px shift in the `translate` value results in a ~3px shift on screen, as the `scale` is ~3. The position appears to change faster towards the end of the animation, which creates the &#8216;swooping&#8217; effect.<\/p>\n<p>## How to fix it<\/p>\n<p>To fix this, we need to avoid the `scale` acting as a multiplier for the `translate`, and the way to do this is to put the `translate` first.<\/p>\n<p>We can&#8217;t just swap the order, since we&#8217;re relying on the multiplying effect of the `scale` to make the `translate` do the right thing. To achieve the same effect, we need to manually multiply the `translate` values by the `scale` value:<\/p>\n<p>    .demo.zoom {<br \/>      transform: translate(-99.3%, 60.6%) scale(3);<br \/>    }<\/p>\n<p>And that&#8217;s it!<\/p>\n<p>![A Scottish wildcat](\/c\/cat-8a70acd2.webp) ![](\/c\/cat-zoomed-829b36bc.webp)<\/p>\n<p>Although the `translate` values are still multiplied, they&#8217;re multiplied by a constant 3, the end `scale`, rather than a changing `scale` value. The result is a steady move towards the target. Each 1px shift in the `translate` value results in a 1px shift on screen.<\/p>\n<p>Unfortunately, this format is harder to tweak in DevTools, but you can fix that with a bit of `calc`!<\/p>\n<p>    .demo.zoom {<br \/>      &#8211;scale: 3;<br \/>      transform: translate(<br \/>          calc(-33.1% * var(&#8211;scale)),<br \/>          calc(20.2% * var(&#8211;scale))<br \/>        )<br \/>        scale(var(&#8211;scale));<br \/>    }<\/p>\n<p>Or even, split the `translate` into two separate properties:<\/p>\n<p>    .demo.zoom {<br \/>      &#8211;scale: 3;<br \/>      scale: var(&#8211;scale);<br \/>      translate: calc(-33.1% * var(&#8211;scale)) calc(20.2% * var(&#8211;scale));<br \/>    }<\/p>\n<p>When you use the `scale` and `translate` properties separately, the `translate` is always applied first\u2014which just happens to be the order we want.<\/p>\n<p>Job done!<\/p>\n<p>## But wait, why did rotate(0) fix it?<\/p>\n<p>Back at the start of the article (remember that?), I mentioned that the animation could be &#8216;fixed&#8217; by making the starting transform `rotate(0)`:<\/p>\n<p>    .demo {<br \/>      transition: transform 1s ease;<br \/>      transform: rotate(0);<br \/>    }<br \/>    .demo.zoom {<br \/>      transform: scale(3) translate(-33.1%, 20.2%);<br \/>    }<\/p>\n<p>Even though the `scale` and `translate` are in the wrong order, we get the animation we want. What gives? Well, I don&#8217;t actually recommend using this &#8216;fix&#8217;, because it only &#8216;works&#8217; by hitting an edge case in the CSS spec.<\/p>\n<p>Let&#8217;s go through the algorithm again, but this time with the `rotate(0)` transform:<\/p>\n<p>    @keyframes computed-keyframes {<br \/>      from {<br \/>        transform: rotate(0);<br \/>      }<br \/>      to {<br \/>        transform: scale(3) translate(-33.1%, 20.2%);<br \/>      }<br \/>    }<\/p>\n<p>As before, it pads out the values with `none` so they have the same number of components:<\/p>\n<p>    @keyframes computed-keyframes {<br \/>      from {<br \/>        transform: rotate(0) none;<br \/>      }<br \/>      to {<br \/>        transform: scale(3) translate(-33.1%, 20.2%);<br \/>      }<br \/>    }<\/p>\n<p>Then, as before, it tries to convert each component pair to use a common function that can express both types of value. However, it can&#8217;t. `rotate` and `scale` are considered too different to be converted into a common type.<\/p>\n<p>When this happens, it &#8216;recovers&#8217; by converting those values, and all following values, to a single matrix:<\/p>\n<p>    @keyframes computed-keyframes {<br \/>      from {<br \/>        transform: matrix(1, 0, 0, 1, 0, 0);<br \/>      }<br \/>      to {<br \/>        transform: matrix(3, 0, 0, 3, -673.75, 231.904);<br \/>      }<br \/>    }<\/p>\n<p>And then it animates them as it would two matrices. The &#8216;incorrect&#8217; order of the `scale` and `translate` is lost, and the `translate` is already pre-multiplied by the `scale`. By coincidence, it animates exactly the way we want it to.<\/p>\n<p>## Bonus round: scale vs 3D translate<\/p>\n<p>In this article, we&#8217;ve been animating `scale` to achieve the effect of &#8216;zooming in&#8217;. But, depending on the effect you want, you could use a 3D translate instead.<\/p>\n<p>When you animate `scale`, the result is that the width and height of the target changes linearly throughout the animation (although, as before, easing can be applied). This feels similar to a camera zoom effect.<\/p>\n<p>However, you may want an effect that&#8217;s more like the object moving towards the camera, or the camera moving towards the object. To achieve this, you don&#8217;t want the visual size of the object to change linearly.<\/p>\n<p>This is because, when a far-away object moves by 1 metre, the amount of space it takes up in your field of view doesn&#8217;t change much. But, when a close-up object moves by 1 metre, the amount of space it takes up in your field of view changes a lot. This is the effect of perspective.<\/p>\n<p>So, instead of using `scale`, let&#8217;s use the `perspective` property, and a 3D transform:<\/p>\n<p>    .container {<br \/>      perspective: 1000px;<br \/>    }<br \/>    .demo.zoom {<br \/>      translate: -33.1% 20.2% 666.666px;<br \/>    }<\/p>\n<p>The rather demonic translate-z value was calculated by converting the `scale` to a translate-z value, using the following formula:<\/p>\n<p>    const scaleToTranslateZ = (scale, perspective) =><br \/>      (perspective * (scale &#8211; 1)) \/ scale;<\/p>\n<p>And here&#8217;s the result:<\/p>\n<p>![A Scottish wildcat](\/c\/cat-8a70acd2.webp) ![](\/c\/cat-zoomed-829b36bc.webp)<\/p>\n<p>Ok, it&#8217;s subtle. Here&#8217;s the `scale` version again for comparison:<\/p>\n<p>![A Scottish wildcat](\/c\/cat-8a70acd2.webp) ![](\/c\/cat-zoomed-829b36bc.webp)<\/p>\n<p>It&#8217;s mostly noticeable on the zoom-out part of the animation. The 3D version feels like it starts much faster than the `scale` version. Personally, I think the `scale` version feels better, since the intention is more of a &#8216;zoom&#8217; than a &#8216;move&#8217;. But, it&#8217;s good to know the differences, so you can choose the right one for your desired effect.<\/p>\n<p>Thanks to Ana Rodrigues for feedback that helped this make a lot more sense.\n<\/p><\/div>\n<p><a href=\"https:\/\/jakearchibald.com\/2025\/animating-zooming\/\" target=\"_blank\" style=\"display: inline-block; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;\">View Advisory Details<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Security Update News Update Information Title Animating zooming using CSS: transform order is important\u2026 sometimes Update ID JAKEARCHIBALD:94B17FEA499A78342F84C07F69DB9246 Type jakearchibald Published 2025-06-17T01:00:00 Last Updated 2025-06-17T01:00:00&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6,8,34,12,161,13,33,7,11,5],"class_list":["post-6981","post","type-post","status-publish","format-standard","hentry","category-category_news","tag-cve","tag-cvss","tag-cvss-00","tag-exploit","tag-jakearchibald","tag-news","tag-none","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Animating zooming using CSS: transform order is important\u2026 sometimes - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=6981\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Animating zooming using CSS: transform order is important\u2026 sometimes - zero redgem\" \/>\n<meta property=\"og:description\" content=\"Security Update News Update Information Title Animating zooming using CSS: transform order is important\u2026 sometimes Update ID JAKEARCHIBALD:94B17FEA499A78342F84C07F69DB9246 Type jakearchibald Published 2025-06-17T01:00:00 Last Updated 2025-06-17T01:00:00...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=6981\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-17T06:40:56+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Animating zooming using CSS: transform order is important\u2026 sometimes\",\"datePublished\":\"2025-06-17T06:40:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981\"},\"wordCount\":1418,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"CVSS-0.0\",\"exploit\",\"jakearchibald\",\"news\",\"NONE\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_news\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=6981#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981\",\"name\":\"Animating zooming using CSS: transform order is important\u2026 sometimes - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-06-17T06:40:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=6981\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=6981#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Animating zooming using CSS: transform order is important\u2026 sometimes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Animating zooming using CSS: transform order is important\u2026 sometimes - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=6981","og_locale":"en_US","og_type":"article","og_title":"Animating zooming using CSS: transform order is important\u2026 sometimes - zero redgem","og_description":"Security Update News Update Information Title Animating zooming using CSS: transform order is important\u2026 sometimes Update ID JAKEARCHIBALD:94B17FEA499A78342F84C07F69DB9246 Type jakearchibald Published 2025-06-17T01:00:00 Last Updated 2025-06-17T01:00:00...","og_url":"https:\/\/zero.redgem.net\/?p=6981","og_site_name":"zero redgem","article_published_time":"2025-06-17T06:40:56+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=6981#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=6981"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Animating zooming using CSS: transform order is important\u2026 sometimes","datePublished":"2025-06-17T06:40:56+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=6981"},"wordCount":1418,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","CVSS-0.0","exploit","jakearchibald","news","NONE","Security","tapic","Vulnerability"],"articleSection":["category_news"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=6981#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=6981","url":"https:\/\/zero.redgem.net\/?p=6981","name":"Animating zooming using CSS: transform order is important\u2026 sometimes - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-06-17T06:40:56+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=6981#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=6981"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=6981#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Animating zooming using CSS: transform order is important\u2026 sometimes"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/6981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6981"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/6981\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}