Navigation

    云、贵、川、渝IT人的圈子
    • Register
    • Login
    • Search
    • 主页
    • 问答
    • 话题
    • 热门
    • 圈子
    • 招聘
    • 活动
    • 项目

    input placeholder 字体颜色

    技术答疑
    input placeholder
    2
    2
    34
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      congshan82 last edited by

      input placeholder 字体颜色如何修改

      1 Reply Last reply Reply Quote 1
      • kukeng66754
        kukeng66754 last edited by

        核心代码

        input::-webkit-input-placeholder {
            color: #ff6300;
        }
        input::-moz-placeholder {   /* Mozilla Firefox 19+ */
            color: #ff6300;
        }
        input:-moz-placeholder {    /* Mozilla Firefox 4 to 18 */
            color: #ff6300;
        }
        input:-ms-input-placeholder {  /* Internet Explorer 10-11 */ 
            color: #ff6300;
        }
        

        兼容性

        2b76028f-15e6-4519-b5dd-7f05c269edf8-image.png

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        C
        8
        玻
        U
        A
        大
        A
        青
        黑
        低
        天
        白
        快
        爱
        白
        美
        此
        荒
        为
        哭
        柳
        无
        真

        社群
        昆明网页设计交流吧
        友情链接
        • Funtask
        • Funtask 社区
        • SUWIS
        • 云南北大青鸟
        ©2019-2020 滇ICP备20006698号