dir-5-ref.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html>
  3. <head><title>Test dir=rtl</title></head>
  4. <body>
  5. <div style="position: absolute;
  6. top: 5px; left: 5px; width: 200px; height: 200px;">
  7. <div style="position: absolute; width: 40px; height: 200px;
  8. left: 0px; background: red;"></div>
  9. <div style="position: absolute; width: 40px; height: 200px;
  10. left: 40px; background: green;"></div>
  11. <div style="position: absolute; width: 40px; height: 200px;
  12. left: 80px; background: magenta;"></div>
  13. <div style="position: absolute; width: 40px; height: 200px;
  14. left: 120px; background: blue;"></div>
  15. <div style="position: absolute; width: 40px; height: 200px;
  16. left: 160px; background: yellow;"></div>
  17. </div>
  18. <div style="position: absolute;
  19. top: 5px; left: 5px; width: 200px; height: 200px;">
  20. <div style="position: absolute; width: 10px; height: 200px;
  21. left: -5px; background: black;"></div>
  22. <div style="position: absolute; width: 10px; height: 200px;
  23. left: 35px; background: black;"></div>
  24. <div style="position: absolute; width: 10px; height: 200px;
  25. left: 75px; background: black;"></div>
  26. <div style="position: absolute; width: 10px; height: 200px;
  27. left: 115px; background: black;"></div>
  28. <div style="position: absolute; width: 10px; height: 200px;
  29. left: 155px; background: black;"></div>
  30. <div style="position: absolute; width: 10px; height: 200px;
  31. left: 195px; background: black;"></div>
  32. </div>
  33. </body>
  34. </html>