10. golden ratio rectangle

  - accepted / - tried

Let's create a golden ratio rectangle, which means width/height = 1.618.

This rectangle should have the fixed ratio even when width changes.

<div class="golden-ratio"></div>

1.width: 50px

2.width: 100px

3.width: 200px

ディスカス(5)