@color: #4D926F; #header {color: @color;} h3 {color: @color;}
.rounded-corners (@radius: 5px) { -webkit-border-radius: @radius; -moz-border-radius: @radius; -ms-border-radius: @radius; -o-border-radius: @radius; border-radius: @radius;} #header{.rounded-corners;} #footer{.rounded-corners(10px);}
#header { h2 {font-size: 26px;font-weight: bold;} p {font-size: 12px; a {text-decoration: none; &:hover {border-width: 1px} } } }
@the-border: 1px; @base-color: #111; @red: #842210; #header {color: (@base-color * 3);border-left: @the-border;border-right: (@the-border * 2);} #footer {color: (@base-color + #003300);border-color: desaturate(@red, 10%);}
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。