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/
精彩评论