User:Vadim/Sandbox1

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<div style="   
<div style="   
 +
  position: relative;
   width: 600px;
   width: 600px;
   height: 400px;
   height: 400px;
   background-color: gray;
   background-color: gray;
-
float:right;
+
  float:right;
">
">
<div style="   
<div style="   
   position: absolute;
   position: absolute;
 +
  /* overflow: hidden; */
   top: 0px;
   top: 0px;
   left:0px;
   left:0px;
-
   width: 60px;
+
   width: 256px;
-
   height: 60px;
+
   height: 256px;
   background-color: skyblue;
   background-color: skyblue;
">Static</div>
">Static</div>
Line 17: Line 19:
   top: 0px;
   top: 0px;
   left:0px;
   left:0px;
-
   width: 60px;
+
   width: 256px;
-
   height: 60px;
+
   height: 256px;
   transform: translate(-20px, -30px);
   transform: translate(-20px, -30px);
   background-color: pink;
   background-color: pink;
">Moved</div>
">Moved</div>
<div style="   
<div style="   
-
   width: 60px;
+
  position: absolute;
-
   height: 60px;
+
  top: -10px;
 +
  left:40px;
 +
   width: 256px;
 +
   height: 256px;
   background-color: green;
   background-color: green;
">Static</div>
">Static</div>
</div>
</div>

Revision as of 10:23, 18 November 2018

Static
Moved
Static
Personal tools
advertisement
Friends of Cruisers Wiki