lin
V2EX  ›  问与答

CSS 能否实现这样的排序?

  •  
  •   lin · Feb 23, 2021 · 2510 views
    This topic created in 1904 days ago, the information mentioned may be changed or developed.
    4 行 2 列:

    1 5
    2 6
    3 7
    4 8
    5 replies    2021-02-24 10:01:12 +08:00
    DFshpAq3
        2
    DFshpAq3  
       Feb 23, 2021   ❤️ 1
    多列布局可解
    lin
        3
    lin  
    OP
       Feb 23, 2021
    @spirit23
    @DFshpAq3

    非常感谢!
    Biwood
        4
    Biwood  
       Feb 23, 2021 via iPhone   ❤️ 1
    可以用 flex 布局,父元素设置 flex-direction: column 即可
    redbuck
        5
    redbuck  
       Feb 24, 2021   ❤️ 1
    可以 inline-block+writing-mode,兼容 IE6
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5898 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 02:38 · PVG 10:38 · LAX 19:38 · JFK 22:38
    ♥ Do have faith in what you're doing.