W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-transforms] Making transform-origin a list, converting transform to comma separated

From: Lea Verou <leaverou@gmail.com>
Date: Tue, 07 Feb 2012 01:14:23 +0200
Message-ID: <4F305ECF.3030301@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style@w3.org
On 6/2/12 20:09, Boris Zbarsky wrote:
> How do you do it with multiple origins?

@keyframes circle {
	from { transform: rotate(0deg), rotate(0deg); }
	to { transform: rotate(360deg), rotate(-360deg); }
}

div {
	transform-origin: 50% 100px, 50% 50%;
	animation: 1s circle;
}



-- 
Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Monday, 6 February 2012 23:18:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT