height: calc(100vh - 215px); Published March 18th, 2017 by dreamfliper height: calc(100vh - 215px); 網路上的熱門資訊都有點慢,就連stack overflow也一樣。大多要把element隨著視窗變化就是使用jQuery,可是這個東西明明就是應該被淘汰的。後來才發現calc裡面可以放不同單位,更重要的是vh/vw這個新單位,真心爽。 Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus
comments powered by Disqus