使用高度在 JSX 中设置样式?

Styling in JSX using height?

如何让超大屏幕下降几个像素

<div className="jumbotron" style={{height: '-40px'}}>

这似乎不起作用

您不能在 height css 属性

中使用负值

Negative values like height: -100px are not accepted.