Open towavephone opened 5 years ago
/CSS-equal-height/需求背景 在做侧边抽屉时遇到了需要强行撑满剩余高度的情况,左边的外呼结果要强行撑满剩余高度,这考察了等高布局的应用 解决方案 首先明确侧边栏左边 html 的结构,其中 html 采用 react 写法,css 采用 less 写法 table 布局 比较 hack…
/CSS-equal-height/需求背景 在做侧边抽屉时遇到了需要强行撑满剩余高度的情况,左边的外呼结果要强行撑满剩余高度,这考察了等高布局的应用 解决方案 首先明确侧边栏左边 html 的结构,其中 html 采用 react 写法,css 采用 less 写法 table 布局 比较 hack…