陕西富通建设有限公司网站,山西省财政厅网站三基建设专栏,长沙网站制作哪,网站怎么做排名跳到主内容
我试图将我的选项卡内容垂直居中#xff0c;但是当我添加 CSS 样式时display:inline-flex#xff0c;水平文本对齐消失了。
如何为每个选项卡同时对齐文本 x 和 y#xff1f;
* { box-sizing: border-box; }
#leftFrame {background-color: green;position: a…跳到主内容
我试图将我的选项卡内容垂直居中但是当我添加 CSS 样式时display:inline-flex水平文本对齐消失了。
如何为每个选项卡同时对齐文本 x 和 y
* { box-sizing: border-box; }
#leftFrame {background-color: green;position: absolute;left: 0;right: 60%;top: 0;bottom: 0;
}
#leftFrame #tabs {background-color: red;position: absolute;top: 0;left: 0;right: 0;height: 25%;
}
#leftFrame #tabs div {border: 2px solid black;position: static;float: left;width: 50%;height: 100%;text-align: center;display: inline-flex;align-items: center;
}div idleftFramediv idtabsdivfirst/divdivsecond/div/div
/div运行代码片段隐藏结果 解答http://www.stackoverflow.ink/posts/ru-he-shui-ping-he-chui-zhi-ju-zhong-yuan-su/?f2