问题描述
我介绍了在这里找到的组织结构图: https://bootsnipp.com/snippets/eN3Q8
我想使用overflow-x属性添加滚动条,但是它不起作用:
.tree ul {
padding-top: 20px; position: relative;
overflow-x: scroll;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
这是一个CodePen链接:https://codepen.io/vladnicu/pen/zYqwdyv
谢谢!