可以透過transform-origin,來改變旋轉的原點位置,例如以左上角。 元素旋轉後,並不會影響到周圍的元素。 語法:. 1. transform: rotate(20deg); /* 順時針轉20 度*/.
確定! 回上一頁