10. golden ratio rectangle

  -通过 / -执行

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)