开发者

Need some help positioning a cloned, transformed div - (jsfiddle included)

http://jsfiddle.net/xKuwR/

I want the small clone to sit nicely within the overview div. The goal is to be able to put the overview div anywhere I want, with any position开发者_如何转开发ing (fixed, relative, etc) and have it work.

Thanks for any help.


Not entirely sure what you're after, but I think using -transform-origin will help:

-webkit-transform-origin: 0 0;

With position: fixed (as you had it): http://jsfiddle.net/xKuwR/5/
With position: relative: http://jsfiddle.net/xKuwR/6/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜