css box-orient属性怎么用


当前第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;

                /* Firefox */

                display: -moz-box;

                -moz-box-orient: horizontal;

                /* Safari, Opera, and Chrome */

                display: -webkit-box;

                -webkit-box-orient: horizontal;

                /* W3C */

                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 align-self属性怎么用

css怎么设置内边距

css如何清除浮动?clear和bfc方法介绍

css如何实现对号效果

css border-bottom属性怎么用?

最全的css样式整理总结

css搜索框怎么写

css实现将网页变成黑白色

css中的content属性该如何使用

更多相关阅读请进入《css》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...