Streaming live at 10am (PST)

Using cm for real world size inaccurate. Workaround?

I want to make an online ruler so that people can measure the circumference of their fingers to be able to determine their ring size.

It works perfectly on a 1920 by 1080 screen but once I move to my macbook which is 2880 by 1800 the ruler has shrunk and I’m missing 2 centimeters of the original 15 centimeter ruler.

Any help will be greatly appreciated.

Here is my site Read-Only:

You can’t, not easily. Not without using code to retrieve information about the size and density of the visitor’s screen.

Google for on-screen rulers, you’ll see they’re using JS to gather details about your screen size before dimensioning a rule for you. Some use machine learning too.