当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <!DOCTYPE html>
<html>
<head>
<meta charset= "UTF-8" >
<style>
div {
width: 350px;
height: 150px;
border: 1px solid black;
display: -moz-box;
-moz-box-orient: horizontal;
display: -webkit-box;
-webkit-box-orient: horizontal;
display: box;
box-orient: horizontal;
}
</style>
</head>
<body>
<div>
<p>段落 1。</p>
<p>段落 2。</p>
<p>段落 3。</p>
</div>
<p><b>注释:</b>IE 不支持 box-orient 属性。</p>
</body>
</html>
|
以上就是css box-orient属性怎么用的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css的加载顺序是什么
css中7个你必须知道属性
css如何垂直对齐容器中的元素
css left属性怎么用
css如何去除inline-block元素间的间距?(多种方法)
css padding属性怎么用
css color属性怎么用
css怎么设置元素透明度
浅谈使用css实现半透明边框和多重边框效果的方法
css中&表示什么意思
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css box-orient属性怎么用