<p id="g32nn"></p>
    1. <acronym id="g32nn"><strong id="g32nn"></strong></acronym>
      <pre id="g32nn"></pre>

      <table id="g32nn"><option id="g32nn"></option></table>

          一個相當不常見的css樣式,css的Content屬性
          2022-09-06 22:44:36


          用于在每個鏈接(即a標簽)后插入內容,最終顯示為如下樣式

          ?

          this is a (inserted text)
          示例:
          html代碼:
          <pre name="code" class="html"><a>aaaaa</a>

          ?

          ?

          ?

          ?

          ?


          ?


          css代碼:

          ?

          ?

          a:after
          {content: " 啊啊啊啊"
          }

          最終效果為:

          ?

          一個相當不常見的css樣式,css的Content屬性_html

          而且其中的漢字部分是不能被選中的。

          而且css中也可以這樣寫:

          ?

          a:after
          {content: " (" attr(href) ")"
          }

          即顯示此標簽的href字符串。

          ?

          其他好像沒有什么特別作用。
          ?

          ?

          本文摘自 :https://blog.51cto.com/u


          更多科技新聞 ......

          97久久久久人妻精品专区_国产成人精品视频导航_国产色诱视频在线播放网站_97午夜理论电影影院
          <p id="g32nn"></p>
          1. <acronym id="g32nn"><strong id="g32nn"></strong></acronym>
            <pre id="g32nn"></pre>

            <table id="g32nn"><option id="g32nn"></option></table>