copy-figma-css
Enable this extension and activate the inspect tab in a figma file, the CSS can be automatically copied according to the rules you set after any node is selected
(Automatic copy function is Expired, please copy manually)
Feature:
* Copy Figma Css automatically (Expired, please copy manually)
* Ignore useless comments and unwanted properties
* Set Scale level of the number and custom unit
* Custom replace rule
* Replace the value by css/less/sass variables
* Different configs for different projects
Usage:
* Install this plugin and Pin it in the extension bar
* Open or refresh the figma file
* Manually copy the css code, and the code will be modified according to the rules and written to the clipboard
* If the browser ask the permission to read the clipboard, click Allow to read, it read the CSS code only
figma 复制 CSS 插件,开启此插件激活 Inspect(检查)tab,便可以在选中元素之后自动根据设置好的规则复制 CSS 代码。
(自动复制功能已失效,请手动复制)
已支持的特性:
* 自动复制 Figma CSS (已失效,请手动复制)
* 支持过滤无用注释和不需要的属性
* 支持设置缩放级别、CSS 单位
* 自定义替换规则
* css var/less/sass 变量替换
* 多个项目多个配置
使用方法:
* 安装此插件,并固定在扩展栏
* 打开或刷新 figma 设计稿
* 手动复制 CSS 代码,代码就会按照规则修改后写入剪贴板
* 若页面提示阻止读取剪贴板权限,点击允许读取,插件只读取 CSS 内容
copy-figma-css插件谷歌浏览器安装教程
第一步:下载copy-figma-css安装扩展
第二步:下载下来的扩展解压到你想放的文件夹里
比如我解压到extend文件夹
打开Chrome的扩展页面(chrome:// extensions /或按Chrome菜单图标>更多工具>扩展程序),右上角开发者模式,点击开启,蓝色为开启,灰色为关闭;
再次将crx文件拖放到扩展程序,页面左下角提示:“扩展功能、应用和主题背景可能会损害您的计算机。您确定要继续吗?”
点击“继续”依然显示“无法从该网站添加应用、扩展程序和用户脚本”。尝试另一种办法方法。
第三步:把crx后缀改为zip,再进行解压
如果有些windows电脑系统查看不到文件扩展名,则可以通过以下设置:
找到文件夹顶部,点击查看
点击查看,找到隐藏已知文件扩展名,去掉前面的勾即可
这样你就能看到解压好的扩展名:.crx
解压的扩展名为.crx
把.crx改为:zip
然后再用解压工具再解压一遍,即可得到扩展的全部文件
然后再谷歌浏览器插件页面选择:加载已解压的扩展程序
这样就安装成功了
友情提醒:
其他浏览器,包括qq浏览器,360浏览器,edge浏览器,猎豹浏览器,搜狗浏览器安装插件的方法都是类似的,以上内容大部分通用!






