是否可以在使用任何颜色(如黑色或白色)时使字体(字体颜色)透明?让字体慢慢消失,如 display:none
。谢谢
最佳答案
你可以使用 css 属性
opacity: 0;
您将无法选择文本,
或
color: transparent;
您将有机会选择文本。
如果你想让这个慢慢看jQuery函数.fadeOut()
http://api.jquery.com/fadeOut/或 .animate()
http://api.jquery.com/animate/
关于css - 所有主要浏览器上带有 css 的不可见(透明)字体颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20048225/