【问题标题】:Can I use the new CSS Custom Properties (Variables) with Bulma?我可以在 Bulma 中使用新的 CSS 自定义属性(变量)吗?
【发布时间】:2019-01-29 23:49:13
【问题描述】:

布尔玛使用Sass variables。我看了一个关于CSS variables 的教程,它们有我想使用的功能。我可以在 Bulma 中使用 CSS 变量吗?

我是 Web 开发新手,现在决定是否在 Node.js 项目中使用 Bulma。

参考: What is the difference between CSS variables and preprocessor variables? | CSS-Tricks

【问题讨论】:

    标签: javascript bulma css-variables


    【解决方案1】:

    是的。你可以。尽管并非所有浏览器都支持 css 变量。使用caniuse.com 查看支持的可用浏览器以及您所在国家/地区的使用百分比

    【讨论】:

      猜你喜欢
      • 2021-01-13
      • 2019-10-30
      • 2018-07-02
      • 2016-08-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-12
      • 1970-01-01
      相关资源
      最近更新 更多