css3 - css font style plus fill color instead of background color
天蓬老师
天蓬老师 2017-06-08 11:02:27
0
2
1168

There is a font style as follows:

I want to add color to the heart instead of the entire span surrounding the heart having color
The wrong effect is as follows:

span is defined as follows:

If you add background-color, the effect shown in the picture above will appear. If you use color directly, only the heart-shaped border will have color. Now I want to realize that the inside of the heart has color.
Please give me some advice

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all (2)
typecho

There is something wrong with your iconfont. You can use a solid icon and set the font color directly like the one above

    某草草

    Use this

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!