html - 我的css背景颜色没有改变,为什么?
问题描述
我使用 glitch.com 并且由于某种原因背景颜色没有改变我在其他项目中使用了相同的代码并且它有效
CSS:
body {
font-family: helvetica, arial, sans-serif;
margin: 0 auto;
background-color:rgb(40, 48, 54);
}
h1 {
font-style: italic;
color: #373fff;
}
解决方案
如果您在glitch.com,您必须使用此代码
.cHtQlM {
background-color: red;
}
推荐阅读
- android - 如何防止方向改变时片段的重新创建问题?
- c# - 邮件地址验证检查
- ios - Admob 在后台获取高级原生广告?
- php - 当我从包含的脚本调用 exit() 时,主 php 脚本中的关闭函数未执行
- ios - SystemVolumeDidChangeNotification 永远不会在 iOS 14 上触发
- python - 如何使用python在pygame中定义快进按钮?
- spring-boot - 不使用 @CachePut 更新缓存
- json - 从kafka流pyspark中的嵌套json获取数据
- vue.js - 检查在 Vue js 中不起作用的路由上的 Auth
- php - 一个域的两个服务人员