选择器

1、基于以字符串开始的属性值选择a[href^="ftp://"]
2、基于以字符串结束的属性值选择a[href$=".html"]
3、基于包含字符串的属性值选择a[href*=".php"]
4、伪元素:first-letter和:first-line,首字母和首行
原文地址:https://www.cnblogs.com/changweihua/p/2072351.html