css with background image without repeating the image

后端 未结 4 1041
轻奢々
轻奢々 2020-12-28 16:08

I have a column (lets assume the width is 40px) and there I have some rows. The height of the rows depends on the length of text (if the text is long then there is a break l

4条回答
  •  醉梦人生
    2020-12-28 16:17

    Instead of

    background-repeat-x: no-repeat;
    background-repeat-y: no-repeat;
    

    which is not correct, use

    background-repeat: no-repeat;
    

提交回复
热议问题