dubbo 協議的 K8s pod 存活探針配置
阿新 • • 發佈:2021-12-06
// body{
//
// a{
// text-decoration: none;
// }
// a:hover{
// color: red;
// }
// }
// $color:#eee;
// $font-size:14px;
// // sass的宣告使用$符號
// body{
//
// height: 300px;
// button{
// font-size: $font-size;
// }
// a{
// text-decoration: none;
// // 取父元素
// &:hover{
// color: red;
// }
// }
// }
$info:blue;
$error:pink;
// 巢狀
// 宣告函式/混入 可以巢狀其他東西 把相同的屬性加入
@mixin border-rad {
border-radius: 50%;
-webkit-border-radius:50%;
-moz-border-radius:50%;
}
@mixin h-ul { display: flex; justify-content: space-between; align-items: center;// li{ list-style: none; } }
// 給混合器傳入引數 @mixin border($w,$s,$c) { border: $w $s $c; }
// 解決錯誤 html{ margin: 0; }
@mixin h-ul { display: flex; justify-content: space-between; align-items: center;// li{ list-style: none; } }
// 給混合器傳入引數 @mixin border($w,$s,$c) { border: $w $s $c; }
// 解決錯誤 html{ margin: 0; }