text selector css

Solutions on MaxInterview for text selector css by the best coders in the world

showing results for - "text selector css"
Juan José
29 May 2019
1/* Select every cell containing word "male" */
2td[data-content="male"] {
3  color: red;
4}
5
6/* Select every cell starting on "p" case insensitive */
7td[data-content^="p" i] {
8  color: blue;
9}
10
11/* Select every cell containing "4" */
12td[data-content*="4"] {
13  color: green;
14}