If I read the specification correctly, no.
You can match on an element, the name of an attribute in the element, and the value of a named attribute in an element. I don’t see anything for matching content within an element, though.
Related Posts:
- Set parent style via child
- not:first-child selector
- CSS selectors ul li a {…} vs ul > li > a {…}
- CSS reset – What exactly does it do?
- When to use margin vs padding in CSS [closed]
- SVG center horizontal and vertical line
- Can I change Bootstrap button color?
- Is it bad practice to comment out single lines of CSS with //?
- How to draw a half circle (border, outline only) [closed]
- CSS Circle with border
- Is there a CSS parent selector?
- What is the proper way to display a logo with CSS?
- Responsive font size in CSS
- How to make a vertical line in HTML
- CSS Font Border?
- How do I change the background color with JavaScript?
- Why em instead of px?
- Vertical Align Center in Bootstrap
- Button Center CSS
- Centering a background image, using CSS
- How to change the cursor into a hand when a user hovers over a list item?
- Nesting CSS classes
- CSS: center element within a element
- What is the difference between the selectors “.class.class” and “.class .class”?
- what is a parse error and how do I fix it
- How to use css first-child with :not()
- Bootstrap NavBar with left, center or right aligned items
- How to make the overflow CSS property work with hidden as value
- In CSS what is the difference between “.” and “#” when declaring a set of styles? [duplicate]
- How to make a sticky footer in react?
- How to push a footer to the bottom of page when content is short or missing?
- Linking to a pdf file with html
- Can I add background color only for padding?
- Change TD border color with HTML or CSS
- Why adding version number to CSS file path?
- Hide text using css
- Changing the width of Bootstrap popover
- CSS background color not working
- What does “*” mean in CSS?
- What does an asterisk (*) do in a CSS selector?
- Is there an opposite CSS pseudo-class to :hover?
- Bootstrap transparent navbar
- jQuery toggle CSS?
- How to get CSS to select ID that begins with a string (not in Javascript)?
- 100% DIV width is not really 100%
- CSS 3 slide-in from left transition
- Combine :after with :hover
- Bootstrap scrollable panel
- CSS checkbox input styling
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- How to place two divs next to each other?
- Background color in input and text fields
- CSS3 opacity gradient?
- Is there a “previous sibling” selector?
- How to exclude particular class name in CSS selector?
- CSS3 background image transition
- How can I apply styles to multiple classes at once?
- How to import Google Web Font in CSS file?
- CSS Equivalent of the “if” statement
- Specify multiple attribute selectors in CSS
- Can I apply a CSS style to an element name?
- CSS “and” and “or”
- CSS selector for first element with class
- How to select label for=”XYZ” in CSS?
- How to make div background color transparent in CSS
- WordPress Neve theme – main navigation css
- Using Javascript in CSS
- Is background-color:none valid CSS?
- Refresh/reload the content in Div using jquery/ajax
- margin-bottom not working
- Why doesn’t min-height not work on my page?
- Custom CSS in WordPress messing up
- How to add stylesheets only to pages with specific shortcode?
- Modernizr and WordPress – How can I add a CSS class to the html element?
- WordPress Displaying Thumbnails Vertically
- Remove Genericons Helper CSS from twentyfourteen theme
- Altering html structure and creating custom menus
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- Style internal links based on the tags of the linked post
- How to override Bootstrap css with my child theme css in wordpress?
- How to stop Gutenberg from outputting inline CSS for specific blocks?
- Correct way to include extra styles & script files?
- Adding CSS to custom post type admin page causes error
- Inside a loop, how to change CSS class based on category name?
- Change CSS based on is_user_logged_in
- How to know which order WordPress places CSS files?
- Place title (in correct place) above image with opaque background [closed]
- Overwriting forced wordpress CSS styles [closed]
- Styling an “active” link outside of WordPress default menu
- W3TotalCache and Javascript — what should go where, when?
- WordPress sidebar content moving to bottom of page
- custom template display 3 columns
- Blog page and the Home page showing the same content
- How to Compress Css/js code in wordpress and increase loading speed?
- Are WP images responsive by default?
- WordPress site using unknown overriding css
- Active menu item / category
- Display ajax preloader for large images within posts
- Stop underlining image links
- Enqueue MCE Editor CSS in admin page