gpt4 book ai didi

css - 如何为 BEM block 设置外部几何或定位?

转载 作者:行者123 更新时间:2023-12-05 06:36:46 27 4
gpt4 key购买 nike

BEM Block 的一个特点是:

The block shouldn't influence its environment, meaning you shouldn't set the external geometry (margin) or positioning for the block.

Here is the link to this article

那么如何为BEM block 设置外部几何或定位?

最佳答案

外部几何由父 block 使用混合设置。详情请阅读:https://en.bem.info/methodology/css/#external-geometry-and-positioning

关于css - 如何为 BEM block 设置外部几何或定位?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48849586/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com