search

Home  >  Q&A  >  body text

html5 - css3背景效果,不知道为什么没显示出来


只是简单的写了一个ul
背景的写法是这样,但是用chrome发现居然背景这一栏被忽略了
效果也没有


不是说按道理会有那层阴影吗,但是什么都没出来

大家讲道理大家讲道理2818 days ago885

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:40:40

    Try removing the backslash at the end of border

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:40:40

    The measured background can be displayed.

    First, you have to remove the border after .

    If it still cannot be displayed, it may be that your browser does not support radial-gradient as a background.

    reply
    0
  • 迷茫

    迷茫2017-04-17 13:40:40

    radial-gradientHow about adding a prefix?
    -webkit-radial-gradient

    reply
    0
  • Cancelreply