[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$flgbuYu6_LtuM3ikx6rETi11_DqNdRCWg-3NXCMNxBEM":3},{"code":4,"message":5,"data":6},200,"成功",{"id":7,"createdAt":8,"title":9,"content":10,"summary":11,"image":12,"uid":13,"user":14,"categoryId":21,"category":22,"subCategoryId":24,"subCategory":25,"comments":27,"status":17,"reason":28,"notice":28,"visitCount":29,"commentCount":30,"keywords":31},152,"2025-02-28T09:15:46.001Z","css的代码记录 - 文字颜色渐变","记录一下使用到的一些css属性，这次是文字颜色渐变.\n\n文字渐变效果：\n![gradient text color png](https://image.xinwei.ltd/image1740734023088.png)\n\ncss示例代码\n![scss codes](https://image.xinwei.ltd/image1740734012558.png)\n\n```css\n&-title {\n        background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%); // 背景进行渐变\n        -webkit-background-clip: text;  // 背景应用到文字上\n        color: transparent;  // 文字颜色设为透明\n        font-family: Onest;\n        font-size: 50px;\n        font-weight: 900;\n        line-height: 63.75px;\n        text-align: center;\n    }\n```\n\n仅做记录，方便取用代码。","记录一下使用到的一些css属性，这次是文字颜色渐变.","https://image.xinwei.ltd/image1740734023088.png",499668042977349,{"phone":15,"userId":13,"nickName":16,"vipType":17,"avatar":18,"sign":19,"createdAt":20},"13121171998","全栈老韩",1,"https://image.xinwei.ltd/images/IMG_5430.JPG","全栈工程师，擅长iOS App开发、前端（vue、react、nuxt、小程序&Taro）开发、Flutter、React Native、后端（midwayjs、golang、express、koa）开发、docker容器、seo优化等。","2024-01-01T16:14:30.305Z",2,{"id":21,"name":23},"IT技术",32,{"id":24,"name":26,"parentId":21},"前端",[],"",37,0,"text gradient color,css text gradient color,css gradient,gradient color"]