lin
V2EX  ›  问与答

CSS 能否实现这样的排序?

  •  
  •   lin · Feb 23, 2021 · 3027 views
    This topic created in 2082 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
    DFshpAq3
    Feb 23, 2021❤️1
    2
    多列布局可解
    lin
    lin
    OP
    Feb 23, 2021
    3
    @spirit23
    @DFshpAq3

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