W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-transforms] Let 'transform-origin' and 'transform' take comma-separated lists (#589)

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Sat, 26 Oct 2019 00:48:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-546553049-1572050907-sysbot+gh@w3.org>
> In the meeting notes @tabatkins said that "translate-origin is a translate function before and after your transform list". I guess he still referred to `transform-origin`, though I still don't get what he meant.

Yes, that should be `transform-origin`. For [example](https://jsfiddle.net/ericwilligers/32qp7zmn/),

```
  transform-origin: 10px 20px;
  transform: rotate(30deg) scale(4);
```
is equivalent to
```
  transform-origin: 0px 0px;
  transform: translate(10px, 20px) rotate(30deg) scale(4) translate(-10px, -20px);
```

See steps 2 and 8 in https://drafts.csswg.org/css-transforms-2/#ctm


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/589#issuecomment-546553049 using your GitHub account
Received on Saturday, 26 October 2019 00:48:30 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:55 UTC