D
D
Denis Klepko2018-12-04 12:55:21
Less
Denis Klepko, 2018-12-04 12:55:21

How to write a slash in the css properties in less so that division does not occur?

Hello!
The essence of the problem.
We write grid-column: 2 / 3;
after compilation gives grid-column: 0.666
We have to write a long version of grid-column-start: 2; grid-column-end: 3;
How to deal with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shad_lin, 2018-12-04
@Shad_lin

Like this
grid-column: ~"2 / 3";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question