L
L
lopyx2017-10-14 17:52:40
css
lopyx, 2017-10-14 17:52:40

Correct spelling of a media expression in Less?

Can you please tell me which of the media expressions is written correctly (the difference is in quotes) and how can I check if the media expression works when loading images? I know that there are retina device emulators in the console, but if the media expression fails, browsers connect a regular image.
@retina: ~"(min-resolution: 144dpi)", ~"(min-resolution: 1.5dppx)";
@retina: ~"(min-resolution: 144dpi)", "(min-resolution: 1.5dppx)";
@retina: ~"(min-resolution: 144dpi), (min-resolution: 1.5dppx)";

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question