How to add components to css max-width, height calculation?

前端 未结 1 1164
广开言路
广开言路 2021-01-27 08:22

I have this layout:



        
相关标签:
1条回答
  • 2021-01-27 09:09

    Can you share what output you expect? Meanwhile you can try this for max-width calc((100vmin * 2 / 3) + 200px).

    For padding, you can add box-sizing: border-box; so it doesn't add additional height to specific height. See if it helps.

    0 讨论(0)
提交回复
热议问题