css3 - 语言伪类选择器
生活随笔
收集整理的這篇文章主要介紹了
css3 - 语言伪类选择器
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1 <!DOCTYPE HTML>
2 <html lang="en-US">
3
4 <head>
5 <meta charset="UTF-8">
6 <title>語言偽類選擇器</title>
7 <style type="text/css">
8 :lang(en) {
9 quotes: '"' '"';
10 }
11
12 :lang(en) q {
13 background: red;
14 }
15 </style>
16 </head>
17
18 <body>
19 <p>WWF's goal is to:
20 <q>build a future where people live in harmony with nature</q> we hope they succeed.
21 </p>
22 </body>
23
24 </html>
?
轉載于:https://www.cnblogs.com/cisum/p/8849309.html
總結
以上是生活随笔為你收集整理的css3 - 语言伪类选择器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: core-site.xml
- 下一篇: js抽奖概率随机取出数据(简单示例)