Using auto in CSS calc
I searched a lot but I didn't find a good resource.
I want to calculate a div height as its contents plus a fix size. I tested calc(auto+50px)
but unfortunately It doesn't work (the browser does not interpret it as valid code).
这是否产生了预期的结果?
div {
height: auto;
padding-bottom: 50px;
}
链接地址: http://www.djcxy.com/p/73880.html
上一篇: “=”和“<”之间是否存在技术差异?
下一篇: 在CSS calc中使用auto