Use the Grid Cell width in a calc()?

Is there a way to use any dimension of a grid (such as its width or height) in a calculation for any child element of that cell? I want to set the font size of the text on a grid cell to be a function of the cell-width so that the font will scale up or down responsively (see text on the blue cell in the link in the secure note for an example) — is that possible?

Hi @amardeepmisha,

To get width of the cell, needs JQUERY.

Although, you don’t need the width of the cell to make it responsive. Here’s the guide on how to use calc. You can directly add calc on the font size text field of the element:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.