block-auto-height-last-child-6-ref.html 287 B

12345678910111213141516171819202122
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style type="text/css">
  5. #last-child {
  6. height: 20px;
  7. background-color: blue;
  8. }
  9. #separator {
  10. height: 20px;
  11. background-color: green;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <div id="parent">
  17. <div id="last-child"></div>
  18. </div>
  19. <div id="separator"></div>
  20. </body>
  21. </html>