css - 我在 css 中不断收到预期的 RBRACE 错误
问题描述
我试图将此代码用作 Discord 中的主题,但我在所有行上都出现错误。它说Expected RBRACE at line x col x
。它也这么说Rule is empty
。
:root {
--white: white;
--black: black;
--sidebarServers: #353945;
--sidebarChannels: #383C4a;
--text: #7a8b94;
--textLowContrast: #bbbcbd;
--textDark: #d3dae3;
--textDarkLowContrast: #767e83;
--textAccent: white;
--bgContent: #f5f6f7;
--bgContentDark: #404552;
--bgAccent: #5294e2;
--bgInput: #fff;
--bgInputDark: #1c212b;
--bgChatInput: #e6e7e8;
--bgChatInputDark: #383C4a;
--bgToolbar: #353945;
--bgMenu: #fff;
--bgMenuDark: #383c4a;
--bgDarker: #2d323d;
--bgDarkest: #262a33;
--buttonContent: #e6e7e8;
--buttonContentDark: #4c5262;
--buttonDarker: #4b5164;
--buttonToolbar: #474d5d;
--buttonAccent: #88b9f2;
--mentionedDark: rgba(136,185,242,0.15);
--online: #5294e2;
--away: #e6b807;
--busy: #ea0d0b;
--dividerContent: #383C4a;
--dividerChannel: rgba(0,0,0,0.2);
--time: 0.1s;
}
解决方案
推荐阅读
- java - 如何在 HashSet 中保留插入顺序?
- javascript - 如何使用object.keys和map方法获取对象内对象的每个数据值对
- python - 在 Pi 上通过 python 的 bluetoothctl 命令
- javascript - Ajax 处理程序类未到达我的 url 地址
- java - URLEncoder 土耳其字符集(Android、Java)
- ios - 父视图在子视图后面
- httprequest - 谷歌将如何识别请求的来源(谷歌登录)
- sql - Oracle 11g SQL 将列数据拆分为多列数据
- ios - 无需情节提要和 segue 编程即可显示 viewController 并传递数据
- python - 已安装 Wsgi,但“模块 mod_wsgi 不存在!”