overflow: scroll; 不生效

XY道衍
发布于 2022-1-20 16:13
浏览
0收藏

最外<div class="content ">,里面的组件比较多,超过了屏幕,

.content {

width: 100%;

height: 100%;

display: flex;

flex-direction: column;

overflow: scroll;

}

但并没有出现scrollbar上下滑动,结果是div里面的被挤压,有大佬知道咋回事么?

收藏
回复
举报
1条回复
按时间正序
/
按时间倒序
SummerRic
SummerRic

可以去问答里进行提问哦,这里容易被大家看不到。

回复
2022-1-21 11:22:52
回复
    相关推荐