尝试比较具有相同结构的块时,通常会在html / css中出现问题。示例: 初始提交
现在让我们向“ someblock”和新类“ someotherblock”添加新参数。 结果
预期结果:
1 1 .someblock
2 2 height:100%;
3+ width:100%;
3 4 }
5+.someotherblock{
6+ height:100%;
7+}
Run Code Online (Sandbox Code Playgroud)
有什么办法可以使git无法理解更改的“逻辑”?