postcss nested props:用于解开嵌套属性的PostCSS插件 源码

上传:wicked6290 浏览: 27 推荐: 0 文件:ZIP 大小:7KB 上传时间:2021-02-08 17:44:16 版权申诉
postcss嵌套道具 插件可解开。 嵌套属性 CSS具有“命名空间”中的许多属性; 例如, font-family , font-size和font-weight都在font名称空间中。 在CSS中,如果要在同一名称空间中设置一堆属性,则必须每次将其键入。 该插件提供了一个快捷方式:只需编写一次命名空间,然后将每个子属性嵌套在其中。 例如: .funky { font : { family : fantasy; size : 30 em ; weight : bold ; } } 编译为: .funky { font-family : fantas
上传资源
用户评论