snapping-1.html 345 B

1234567891011121314151617181920
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. div {
  6. background: red;
  7. margin-left: 100.5px;
  8. height: 100px;
  9. width: 100px;
  10. -moz-transform-origin: bottom left;
  11. -moz-transform: rotate(-90deg) translate(-100px, 0);
  12. transform-origin: bottom left;
  13. transform: rotate(-90deg) translate(-100px, 0);
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div></div>
  19. </html>