Frame ratio
For a video, a map, or an embed on a page. Start with Getting started. This route does not fetch.
GET /v1/ratio reduces a width and height, or a ratio such as 16:9, and returns the CSS aspect-ratio plus the classic padding-bottom percentage.
Try it
https://fetch.li/v1/ratio?w=1920&h=1080
Parameters
| Name | Required | Notes |
|---|---|---|
| w | with h | Whole number, 1 to 10000 |
| h | with w | Whole number, 1 to 10000 |
| ratio | instead of w and h | Such as 16:9 |
Related
Style, demo, and spreadsheets.
Try it
GET https://fetch.li/v1/ratio
Answer
Response