答:父盒用 Grid 时,可以写 grid-template-columns: 200px minmax(0, 1fr)。左列尺寸固定,右列用其余空间,按顺序放入两个子项时,它们各自占一列。
题干与完整题解免费阅读第 1 / 1 页
本页 1 道,共 1 道浏览其他领域
答:父盒用 Grid 时,可以写 grid-template-columns: 200px minmax(0, 1fr)。左列尺寸固定,右列用其余空间,按顺序放入两个子项时,它们各自占一列。