In this particular scenario, the query arises whether the CSS calc()
function extends its support to the fr
unit as presented in the below example?
.sample-grid {
--main-fr: 60fr;
grid-template-columns: var(--main-fr) 1rem calc(100 - var(--main-fr));
}
At first glance, my assumption is that it doesn't work with either Firefox or Chrome.