{"version":"1.0","type":"rich","title":"Baseline detection","description":"This example demonstrates how to detect the typographic baseline of a web page’s body text. It shows the baseline as a horizontal reference line, calculated from the relative vertical positions of two “A” characters—one rendered at font-size zero and one at 999px. The code uses jQuery to measure element positions and CoffeeScript to define a custom `baseline` method on jQuery objects. The detection is performed by temporarily appending hidden spans to the page, then removing them after measurement.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3157389?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}