Skip to content

[css] 第489天 在不可替换元素上使用width/height/margin/padding会有什么样的表现? #2787

Open
@haizhilin2013

Description

@haizhilin2013

第489天 在不可替换元素上使用width/height/margin/padding会有什么样的表现?

3+1官网

我也要出题

Activity

longhui520

longhui520 commented on Aug 22, 2020

@longhui520
  • display:block/inline-block 4个属性均能生效
  • display:inline 只有margin,padding 生效
arrtcy

arrtcy commented on Sep 10, 2020

@arrtcy

display:inline 只҉有҉margin生҉效҉.padding只҉有҉左҉右҉生҉效҉..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@longhui520@arrtcy

        Issue actions

          [css] 第489天 在不可替换元素上使用width/height/margin/padding会有什么样的表现? · Issue #2787 · haizlin/fe-interview