[英]How can I change the Google Sheets background with CSS?
I want the grey area (in the red circle in my screenshot) to be #000
, but I can't find a good selector for it.我希望灰色区域(在我的屏幕截图中的红色圆圈中)为
#000
,但我找不到合适的选择器。
Google Sheets screenshot谷歌表格截图
Currently, the background blinks red
for less than a second and then turns grey.目前,背景呈
red
闪烁不到一秒钟,然后变为灰色。 I painted another area green to be sure my Stylish Chrome extension is working.我将另一个区域涂成绿色,以确保我的时尚 Chrome 扩展程序正常工作。
#docs-chrome {
background: green;
}
#docs-edit-container, #docs-editor, .grid-container {
background: red !important;
}
Spent 20 minutes in Devtools.在 Devtools 上花了 20 分钟。 I just can't find it.
我就是找不到。 The DOM of Google Sheets is pretty complex.
Google 表格的 DOM 相当复杂。
If you want to color the whole thing, then try如果你想给整个东西上色,然后试试
.goog-inline-block.grid4-inner-container{
background-color:red;
}
The entire sheet uses a single class to change color, there is just one color: white, even in the unused area controlled by grid4-inner-container
整张表使用单个class改变颜色,只有一种颜色:白色,即使在
grid4-inner-container
控制的未使用区域
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.