0

In my application i use less file

Using visual studio 2013.

In my site i has an handler that make some replace some change in the css files

for example @align ==> replace with 'left' @images ==> replace with the actual folder of the images

my problem is that when the compile make the css file from the less file the compiler ignore from all unnecessary characters.

In sort how can i add "@align" to the css file that created from the less file

Thanks

enter image description here

24sharon
  • 1,859
  • 7
  • 40
  • 65
  • It is not clear if you want to keep the text `@align` in the resulting CSS file but the compiler replaces it with `left`, or vice versa. – Mr Lister Oct 11 '15 at 11:34
  • Yes i want to keep the @align in the resulting css file. – 24sharon Oct 11 '15 at 11:36
  • But `float:@align` doesn't make sense in CSS. – Mr Lister Oct 11 '15 at 11:37
  • Like i said before in my site i has an handlers that make some replaces on the css file, the @align replace to 'left' if the site is left to right, and to 'right' if the site is right to left etc' – 24sharon Oct 11 '15 at 11:39
  • That wasn't very clear in the question, sorry. So you first have the less, which is supposed to output this intermediate kind of css, which is still supposed to contain the @align, then gets handled by the other handler that outputs real css? Pfff, my gut feeling says don't use a @, use something else. – Mr Lister Oct 11 '15 at 11:46

0 Answers0