Grey Font Color Printing

前端 未结 9 925
心在旅途
心在旅途 2020-12-14 00:21

Is there any way to ensure that my grey font colors do not turn black?

Firefox and Chrome seem to do this in order to prevent white text on black background from tur

9条回答
  •  失恋的感觉
    2020-12-14 01:12

    This solution working in all browsers:

    .text{ color: transparent; text-shadow: 2px 0 #red; }

提交回复
热议问题