• <abbr id="chdyf"></abbr>
    <ruby id="chdyf"><acronym id="chdyf"><meter id="chdyf"></meter></acronym></ruby>
    <bdo id="chdyf"></bdo>
    <dfn id="chdyf"><menu id="chdyf"></menu></dfn>
    1. <menuitem id="chdyf"></menuitem><strong id="chdyf"><menu id="chdyf"></menu></strong>

      <rt id="chdyf"><menu id="chdyf"></menu></rt>
      成人小说一区二区三区,伊人精品成人久久综合全集观看,久久HEZYO色综合,中文字幕精品人妻熟女,影音先锋成人网站,我要看免费一级毛片,中国女人做爰A片,中文字幕av久久爽Av

      input輸入框改變顏色 以及input輸入內容更改顏色

      2023-4-21    前端達人

      效果圖
      在這里插入圖片描述
      1- 改變input輸入框顏色
      border: 1px solid pink;
      2-改變input輸入內容顏色
      color: pink;
      全部代碼

      <!DOCTYPE html>
      <html lang="en">
      <head>
          <meta charset="UTF-8">
          <meta http-equiv="X-UA-Compatible" content="IE=edge">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <title>css新增屬性值</title>
          <style>
              /* 必須是input元素;但是同時也具備input元素有value這個值    用中括號[]*/
              /* input[value]{
                  color:red
              } */
      
              *{
                  padding: 0;
                  margin: 0;
              }
              input[type=password]{
                  color: pink;
                  border: 1px solid pink;
                  outline: none;
      
              }
          </style>
      </head>
      <body>
          <!--1.利用屬性選擇器就可以不用借助于類或者id選擇器  -->
      
          <!-- <input type="text" value="請輸入你喜歡的人">
          <input type="text"> -->
            <!-- 2.屬性選擇器還可以選擇屬性=值的某些元素 -->
            <input type="text">
            <input type="password">
      
      </body>
      </html>``` 
                  
      • 1
      • 2
      • 3
      • 4
      • 5
      • 6
      • 7
      • 8
      • 9
      • 10
      • 11
      • 12
      • 13
      • 14
      • 15
      • 16
      • 17
      • 18
      • 19
      • 20
      • 21
      • 22
      • 23
      • 24
      • 25
      • 26
      • 27
      • 28
      • 29
      • 30
      • 31
      • 32
      • 33
      • 34
      • 35
      • 36
      • 37

      日歷

      鏈接

      個人資料

      藍藍設計的小編 http://www.wtxcl.cn

      存檔