User:Vadim/Sandbox1
From CruisersWiki
(Difference between revisions)
(Created page with "<div style=" width: 60px; height: 60px; background-color: skyblue; ">Static</div> <div style=" width: 60px; height: 60px; transform: translate(10px, 10px); bac...") |
|||
Line 1: | Line 1: | ||
<div style=" | <div style=" | ||
+ | width: 600px; | ||
+ | height: 400px; | ||
+ | background-color: gray; | ||
+ | "> | ||
+ | <div style=" | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | left:0px; | ||
width: 60px; | width: 60px; | ||
height: 60px; | height: 60px; | ||
Line 5: | Line 13: | ||
">Static</div> | ">Static</div> | ||
<div style=" | <div style=" | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | left:0px; | ||
width: 60px; | width: 60px; | ||
height: 60px; | height: 60px; | ||
- | transform: translate( | + | transform: translate(-20px, -30px); |
background-color: pink; | background-color: pink; | ||
">Moved</div> | ">Moved</div> | ||
Line 15: | Line 26: | ||
background-color: skyblue; | background-color: skyblue; | ||
">Static</div> | ">Static</div> | ||
+ | </div> |
Revision as of 10:15, 18 November 2018
Static
Moved
Static