问题描述
有css属性不会改变什么吗?
Are there a css property that would change nothing?
在编写 scss
时,经常会出于测试目的而需要它,只是为了确保我正确创建了一个CSS选择器.例如,我很高兴拥有这样的 foo:"helloworld1";
,以后我就可以更改 foo
的值并检查值,以查看我的选择器确实达到了正确的元素.
I need this for testing purposes very often when writing scss
just to see that I created a css selector correctly. For instance, I would be glad to have something like this foo: "helloworld1";
and later on I would be able to change the value of the foo
and check the value in the developer tools to see that my selectors have indeed reached a correct element.
我考虑过使用 width:auto;
,但有时会指定宽度(例如 width:100px;
).
I thought about using the width: auto;
, but sometimes the width is specified (e.g. width: 100px;
).
推荐答案
也
这篇关于是否有一个css属性,它什么也不会改变,而且我们可以在哪里存储信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!