kergee
V2EX  ›  问与答

请教一个 CSS 样式

  •  
  •   kergee · Feb 13, 2021 · 2317 views
    This topic created in 2089 days ago, the information mentioned may be changed or developed.

    以下的.userinfo-avatar[size]中的[size]是啥意思啊?

    .userinfo-avatar { width: 100rpx; height: 100rpx; margin: 20rpx; border-radius: 50%; background-size: cover; background-color: white; }

    .userinfo-avatar[size] { width: 100rpx; }

    .userinfo-avatar:after { border: none; }

    5 replies  •  2021-02-13 19:47:37 +08:00
    iNaru
    iNaru
    Feb 13, 2021
    1
    属性选择器
    kergee
    kergee
    OP
    Feb 13, 2021
    4
    @wolfan 嗯,在家不喜欢打牌喝酒,看电影看的无聊了,只好继续写写小程序
    kergee
    kergee
    OP
    Feb 13, 2021
    5
    @Biwood
    @iNaru
    多谢啦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5287 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 116ms · UTC 02:14 · PVG 10:14 · LAX 18:14 · JFK 21:14
    ♥ Do have faith in what you're doing.