admin管理员组文章数量:1415421
I use a custom color for certain words on my web site. Every time want to use that color I need to click the Text Color icon and Customize... I then type in the RGB. Problem: It doesn't save that number or hex code. I have to type it in every session. Is there a way to save that custom color from one session to the next? Thank you.
I use a custom color for certain words on my web site. Every time want to use that color I need to click the Text Color icon and Customize... I then type in the RGB. Problem: It doesn't save that number or hex code. I have to type it in every session. Is there a way to save that custom color from one session to the next? Thank you.
Share Improve this question asked Dec 21, 2017 at 19:21 LouieLouie 194 bronze badges 1- 1 Try this stackoverflow/a/23183406/4156379 – Shibi Commented Dec 21, 2017 at 19:27
2 Answers
Reset to default 2To shorten your search the article points out that the suggested code is old and that you can now use this plug-in to define custom colors: Central Color Palette
if you are using the same color every time then add a piece of css to your site
ie
.keyword{color:#11c8de;}
then span your special word with <span class="keyword">YOUR SPECIAL WORD</span>
this offeres more flexibility if you want to change the color in the future all you change is your css and not every single word.
本文标签: textCustom color does not stick
版权声明:本文标题:text - Custom color does not stick 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745203243a2647500.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论