1
@x : 1000px;

width: @x - 20%;

So value should be 800, but instead it's 980 :|

Anyone know why

pokahotass
  • 97
  • 5

1 Answers1

1

You could use the following

width: @x - (@x/5);

Or for any particular percentage:

width: @x - ((@x/100)*(100-20));
Curtis
  • 101,612
  • 66
  • 270
  • 352