<style lang="scss" scoped>
@mixin text-out-stroke($color){
-webkit-text-stroke: 1px transparent;
text-stroke: 1px transparent;
-webkit-background-clip: text;
background-clip: text;
background-color: $color;
}
/*使用*/
.title{
@include text-out-stroke(#000)
}
</style>
css文字外边框
最新推荐文章于 2024-07-26 08:00:00 发布