JavaShuo
欄目
標籤
CSS:好玩的‘僞類’系列之——(:target)
時間 2019-12-06
標籤
css
好玩
系列
target
欄目
CSS
简体版
原文
原文鏈接
:target 定義:指一個惟一的頁面元素(目標元素),其id與當前URL片斷匹配。通常結合錨點連接使用css 觸發條件:噹噹前頁面存在被指定的目標元素時,可修改目標元素的樣式html 兼容:IE8及8如下不支持、Opera9.5如下不支持flex 舉個栗子code html代碼:htm <div style='width:50%;margin:0 auto'> <h3>目錄</h3>
>>阅读原文<<
相關文章
1.
CSS:好玩的‘僞類’系列之——(:target)
2.
CSS:好玩的‘僞類’系列之——(:focus)
3.
CSS:好玩的‘僞類’系列之——(:empty)
4.
CSS:好玩的‘僞類’系列之——(:optional)
5.
CSS:好玩的‘僞類’系列之——(:checked)
6.
CSS:好玩的‘僞類’系列之——(:disabled)
7.
CSS:好玩的‘僞類’系列之——(:enabled)
8.
CSS:好玩的‘僞類’系列之——(:required)
9.
CSS:好玩的‘僞類’系列之——(:in-range與:out-of-range)
10.
CSS:好玩的‘僞類’系列之——(:read-write與:read-only)
更多相關文章...
•
jQuery Mobile CSS 類
-
jQuery Mobile 教程
•
網絡體系的構成和類型
-
TCP/IP教程
•
互聯網組織的未來:剖析GitHub員工的任性之源
•
Docker容器實戰(七) - 容器眼光下的文件系統
相關標籤/搜索
target
好玩
CSS系列
好玩的編程
之類
玩轉SQLite系列
好嗎好的
好的
之列
CSS
MySQL教程
NoSQL教程
Docker教程
文件系統
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
springboot在一個項目中啓動多個核心啓動類
2.
Spring Boot日誌-3 ------>SLF4J與別的框架整合
3.
SpringMVC-Maven(一)
4.
idea全局設置
5.
將word選擇題轉換成Excel
6.
myeclipse工程中library 和 web-inf下lib的區別
7.
Java入門——第一個Hello Word
8.
在chrome安裝vue devtools(以及安裝過程中出現的錯誤)
9.
Jacob線上部署及多項目部署問題處理
10.
1.初識nginx
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
CSS:好玩的‘僞類’系列之——(:target)
2.
CSS:好玩的‘僞類’系列之——(:focus)
3.
CSS:好玩的‘僞類’系列之——(:empty)
4.
CSS:好玩的‘僞類’系列之——(:optional)
5.
CSS:好玩的‘僞類’系列之——(:checked)
6.
CSS:好玩的‘僞類’系列之——(:disabled)
7.
CSS:好玩的‘僞類’系列之——(:enabled)
8.
CSS:好玩的‘僞類’系列之——(:required)
9.
CSS:好玩的‘僞類’系列之——(:in-range與:out-of-range)
10.
CSS:好玩的‘僞類’系列之——(:read-write與:read-only)
>>更多相關文章<<