0
無論如何,我在這裏問是否有任何將div轉換爲特定點。我本來試圖翻譯(),才意識到它通過它的偏移增加值轉換一個div:轉換爲特定點css
HTML:
<div class="ttd">I move!</div>
CSS:
.ttd {
-webkit-transition: transform 2s;
transform: translate(20px, 20px);
}
我試圖讓一個div轉換成一個點,從窗口的頂部和左側sid偏移20px ES。任何人都可以幫助我嗎?此外,這可能在CSS?