css遇到的坑(一)

持续更新,前提拖延症痊愈…:-)css 1. less中使用calc height: calc(~'100% - 20px'); 2. 父元素使用transform子元素position:fixed失效 应该避免此场景发生,考虑其余的办法html 3. 父元素flex后子元素height:100%失效 解决方法:web .grandparent { display: flex; } .parent
相关文章
相关标签/搜索