//radius.less
#header,#footer{
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
//example6.less
@import "radius.less";
@the-border:1px;
@base-color:#111;
@red:#842210;
#header{
color:(@base-color * 3);
border-left:(@the-border*10);
border-right:(@the-border * 2);
}
#footer{
color:(@base-color + #003300);
border-color:desaturate(@red,10%);
}@import "radius.less" 表示通过import引入一个名字叫radius的less文件
#header,
#footer {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
#header {
color: #333333;
border-left: 10px;
border-right: 2px;
}
#footer {
color: #114411;
border-color: #7d2717;
}less6 headerfooter
创新互联www.cdcxhl.cn,专业提供香港、美国云服务器,动态BGP最优骨干路由自动选择,持续稳定高效的网络助力业务部署。公司持有工信部办法的idc、isp许可证, 机房独有T级流量清洗系统配攻击溯源,准确进行流量调度,确保服务器高可用性。佳节活动现已开启,新人活动云服务器买多久送多久。