other.less 301 B

1234567891011
  1. // import用来将其他的less引入到当前的less
  2. // 可以通过import来将其他的less引入到当前的less中
  3. @import 'syntax2.less';
  4. .box1{
  5. // 在less中所有的数值都可以直接进行运算
  6. // + - * /
  7. width: 100px+100px;
  8. height: 100px*2;
  9. background-color: #bfa;
  10. }