css-flex-1-ref.html 277 B

12345678910111213141516171819
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. body { margin: 0 }
  6. div.ref {
  7. border: 1px solid black;
  8. box-sizing: border-box;
  9. background: green;
  10. height: 50px;
  11. width: 100px;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <div class="ref"></div>
  17. </body>
  18. </html>