joken-前端工程师

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2024年7月16日

摘要: 代码 <template> <!-- svg使用 --> <div class="box"> <div> <!-- 设置style fill:ref 方式可以直接修改svg颜色样式 --> <svg style="fill: red" xmlns="http://www.w3.org/2000/sv 阅读全文
posted @ 2024-07-16 22:01 joken1310 阅读(111) 评论(0) 推荐(0)

摘要: 使用示例 <style lang="css" scoped> div,span{ --font-size-20:20px; } .color{ color:var(--color-red); font-size:var(--font-size-20); } </style> 另外也可以放在根节点: 阅读全文
posted @ 2024-07-16 21:11 joken1310 阅读(11) 评论(0) 推荐(0)

摘要: 测试代码 <template> <div class="box"> <div><i-ep-edit /></div> <div><i-ep-chat-dot-round /></div> <div><i-ep-close /></div> </div> </template> <script lan 阅读全文
posted @ 2024-07-16 20:50 joken1310 阅读(193) 评论(0) 推荐(0)