V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
weekidjoker
V2EX  ›  程序员

怎么获取 grid 布局的列数?

  •  
  •   weekidjoker · Oct 19, 2023 · 1464 views
    This topic created in 921 days ago, the information mentioned may be changed or developed.

    例如:

    grid-template-columns:
      [linename1] minmax(100px, max-content) [linename2]
      repeat(auto-fit, [linename3 linename4] 300px)
      100px;
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5609 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:21 · PVG 15:21 · LAX 00:21 · JFK 03:21
    ♥ Do have faith in what you're doing.