.avatar-loop(@n, @i:1, @level) when (@i <= @n) {
&:nth-child(@{level}) .item.item-@{i} {
.avatar {
background-position: (-190px * (@i - 1) - 10px * (@i - 1)) (-190px * (@level - 1) - 10px * (@level - 1));
}
}
.avatar-loop(@n, (@i + 1), @level);
}
.avatar-loop(4, 1, 1);
.avatar-loop(4, 1, 2);
.avatar-loop(4, 1, 3);
.avatar-loop(4, 1, 4);

最新文章

  1. C++_系列自学课程_第_12_课_结构体
  2. C# exe dll防止反编译-- dotNET_Reactor
  3. TTAS Lock C++11 实现
  4. Quartz 框架的应用
  5. js通过alert查看对象或数组内容
  6. 使用spring.net 1.3.2框架部署在虚拟目录上发生错误
  7. matlab实现复合梯形法则
  8. [转]Metasploit的meterpreter黑客脚本列表
  9. Jersey中的常用注解总结
  10. SQL Server-基础-经典SQL语句
  11. Windows10文件目录下添加 Shift+右键打开管理员Powershell窗口
  12. mac 配置vue+sanic环境准备工作
  13. js-工具函数
  14. ubuntu代理设置
  15. js的with语句,和debugger语句
  16. 【原理、应用】Quartz集群原理及配置应用
  17. Eclipse中使用MySql遇到:Loading class `com.mysql.jdbc.Driver&#39;. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver&#39;. The driver is automatically registered via the SPI and manual loading o
  18. 长沙.NET社区之光
  19. 龙儿经理嘴上经常说的B树
  20. 为什么需要maven,maven能解决什么问题 ,maven是什么

热门文章

  1. SpringMVC 学习笔记(十) 异常处理HandlerExceptionResolver
  2. IE block my cookie in iframe
  3. HDU 2587 - 很O_O的汉诺塔
  4. Centos 6 DNS Server 配置
  5. js循环一维数组按指定长度截取为二维数组
  6. ios开发之手势处理 之手势识别一
  7. Android 基于Bmob平台数据管理常用方法整理
  8. css 水平垂直居中的方法总结
  9. [React Router v4] Redirect to Another Page
  10. LeetCode -- 删除链表中值为k的元素