# CSS,Quick Tips

Published articles for CSS,Quick Tips.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Case Insensitive CSS Attribute Selector

DevFeed: [Case Insensitive CSS Attribute Selector](<https://devfeed.tech/articles/case-insensitive-css-attribute-selector-37474.md>)

Original publisher: [Read original article](<https://davidwalsh.name/css-attribute-case>)

Author: David Walsh

Published: 2024-06-19T11:31:27Z

Content type: tutorial

Language: en

Sources: [David Walsh](<https://devfeed.tech/sources/david-walsh.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [selectors](<https://devfeed.tech/topics/selectors.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [css-quick-tips](<https://devfeed.tech/tags/css-quick-tips.md>), [quick-tips](<https://devfeed.tech/tags/quick-tips.md>), [selectors](<https://devfeed.tech/tags/selectors.md>)

### AI overview

This article explains how to use the case-insensitivity flag in CSS attribute selectors to match attribute values without regard to letter case. It notes that the technique has limited use cases and should be applied sparingly.

### Source excerpt

CSS selectors never cease to amaze me in how powerful they can be in matching complex patterns. Most of that flexibility is in parent/child/sibling relationships, very seldomly in value matching. Consider my surprise when I learned that CSS allows matching attribute values regardless off case! Adding a {space}i to the attribute selector brackets will make [...] The post Case Insensitive CSS Attribute Selector appeared first on David Walsh Blog.