search

Home  >  Q&A  >  body text

inline block element

When a tag changes the width from 20px to 40px, why does the background become larger instead of the number 1234

益伦益伦2692 days ago1638

reply all(4)I'll reply

  • 豆腐tttf

    豆腐tttf2018-04-27 16:49:06

    width, height are used to change the size of the container, just like the pool becomes larger and lower, and to change the font size, you need to use font-size:12px 14px

    reply
    0
  • LiuBo

    LiuBo2017-08-28 11:56:07

    font_size

    reply
    0
  • ringa_lee

    ringa_lee2017-08-27 22:34:53

    To change the font size in css, font-size is used. This is common sense and must be memorized

    reply
    0
  • 益伦

    益伦2017-08-26 19:34:06

    font-size is used to adjust the font size

    reply
    0
  • Cancelreply