Hi,
if you got the answer, do not hesitate...
To be clear, is the o-s-c property called gridTemplate is the same as the grid-template
in css ?
Hi,
if you got the answer, do not hesitate...
To be clear, is the o-s-c property called gridTemplate is the same as the grid-template
in css ?
To the question "how to get a 3x3 grid": either enter 3
in gridTemplate
or repeat(3, 1fr) / repeat(3, 1fr)
. The screenshot suggest you want to do something else but it's not clear.
To be clear, is the o-s-c property called gridTemplate is the same as the grid-template in css ?
yes
Thank you for our answer ! I see more clear !
ok so to get a grid with 3 columns
To get 5 rows and 8 columns, each column will take 10% to let a 20 % space.
Nice
But now let say i want to get some particular fraction, the first row will take 2 fractions of the whole, the second row 5 fraction and the third row 1 fraction.
The fr
css unit (a “fraction”) is the solution of course.
The repeat
is used to repeat this schema.
And i'd like to get each colums to be 1/3 the width of the matrix width.
But why the rows don't take the all vertical available space ?
Edit : as i set 3 repeats 3 rows, the space is reserved. Logical...
cheers