工作时间太长了。为什么COLUMN02超出了右侧的浏览器边缘?
任何帮助将不胜感激。非常感谢你!
详细信息:
我错过了什么导致COLUMN02超出右侧的浏览器边缘?
是否有更好的方法通过FLEX BOX移动这些列?
任何输入都将不胜感激!
html,
body {
min-height: 100vh; /* force footer to bottom of browser */
height: 100%;/*for IE11*/
}
.col {
overflow: hidden; /*enables scrolling for some odd reason*/
-webkit-transition: 500ms all ease;
-moz-transition: 500ms all ease;
-ms-transition: 500ms all ease;
-o-transition: 500ms all ease;
transition: 500ms all ease;
padding: 0;
}
main {
overflow: hidden;
}
/* CLOSE/OPEN STATES */
.column01 {
overflow: hidden; /* enables scrolling */
-webkit-box-flex: 0;
-ms-flex: 0 0 250px;
flex: 0 0 250px;
margin-left: -250px /*positioning does not work well with flex objects*/
}
.column01.open {
margin-left: 0; /* open by default */
}
.column02 { /* when column03 is closed */
min-width: 100hv; /* initial width */
min-width: 150px; /* minimum width */
-webkit-box-flex: 0 0 auto; /* manual resize */
-ms-flex: 0 0 auto; /* manual resize */
flex: 0 0 auto; /* manual resize */
}
.column02.open {/* when column03 is open */
width: 400px; /* initial width */
}
.splitter {/* enables scrolling */
-webkit-box-flex: 0;
-ms-flex: 0 0 10px;
flex: 0 0 10px;
margin-right: -10px;
}
.splitter.open {
margin-right: 0;
}
.column03 {
min-width: 150px;
-webkit-box-flex: 0;
-ms-flex: 0 0 0;
flex: 0 0 0;
}
.column03.open {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.column04 {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: 300px;
margin-right: -300px;
}
.column04.open {
margin-right: 0;
}
/* OVERWRITES */
.toggle-column03 {
cursor: pointer;
}
body {
font-family: Calibri;
}
/* SPLITTER COLUMN */
.splitter {
cursor: col-resize;
}
.nav-bordered>.nav-item>.nav-link.active,
.nav-bordered>.nav-item>.nav-link.active:hover,
.nav-bordered>.nav-item>.nav-link.active:focus {
font-weight: 500;
color: #1997c6;
border-bottom-color: #1997c6;
}
再次感谢!