<thead id="toltr"></thead>
<progress id="toltr"><strike id="toltr"></strike></progress>

  • <ul id="toltr"><meter id="toltr"></meter></ul>
    <b id="toltr"></b>

    <strike id="toltr"></strike>

    <b id="toltr"></b>

  • 歡迎進(jìn)入紅數(shù)信息技術(shù)有限公司官網(wǎng)
    4008088160
    現(xiàn)在的位置:首頁(yè) > 發(fā)布營(yíng)銷(xiāo)型網(wǎng)站建設(shè) > 新聞資訊 > 文字顏色的設(shè)置
    文字顏色的設(shè)置
    信息來(lái)源:優(yōu)度網(wǎng)絡(luò)  發(fā)布日期:2009/4/2 瀏覽數(shù)量:1158
    文章導(dǎo)讀:
    <html>
    <head>
    <title>文字顏色</title>
    <style type="text/css">
    <!--
    body{
     font-family:Arial, Helvetica, sans-serif;
     font-size:13px;
    }
    form{padding:0px;margin:0px;}
    input{
     border:1px solid #000000;
     width:40px;
    }
    input.btn{width:60px; height:18px;}
    span{font-family:黑體;font-size:60px; font-weight:bold;}
    -->
    </style>
    <script language="javascript">
    function ChangeColor(){
     var red = document.colorform.red.value;  //獲得各個(gè)輸入框的值
     var green = document.colorform.green.value;
     var blue = document.colorform.blue.value;
     var obj = document.getElementById("text");
     obj.style.color="#"+red+green+blue;   //修改文字顏色
    }
    </script>
       </head>
    <body>
    <form name="colorform">
     R:<input name="red" maxlength="2">
     G:<input name="green" maxlength="2">
     B:<input name="blue" maxlength="2">
     &nbsp;<input type="button" onClick="ChangeColor()" value="換顏色" class="btn">
    </form>
    <br>
    <span id="text">CSS層樣式</span>
    </body>
    </html>
    相關(guān)信息
    • 網(wǎng)絡(luò)營(yíng)銷(xiāo)培訓(xùn)
    • 微網(wǎng)站
    • 掃二維碼
    • 1
    • 2
    • 3
    • 最新上傳
    • 精品案例
    18973218026
    其他業(yè)務(wù)合作請(qǐng)發(fā)下面郵箱
    郵箱:254596208@qq.com
    地址:湖南省湘潭市岳塘區(qū)霞光東路58號(hào)(維也納酒店6樓)
    營(yíng)銷(xiāo)型網(wǎng)站建設(shè)掃一掃關(guān)注官方微信

    關(guān)注優(yōu)度

    官方微信
    官方微博
    官網(wǎng)首頁(yè)
    亚洲日本中文字幕天天跟新,无码综合黄色在线,亚洲人成网站在线观看无码,久久久久亚洲无码
    <thead id="toltr"></thead>
    <progress id="toltr"><strike id="toltr"></strike></progress>

  • <ul id="toltr"><meter id="toltr"></meter></ul>
    <b id="toltr"></b>

    <strike id="toltr"></strike>

    <b id="toltr"></b>