Write down a selector that will match any links end in .zip, .ZIP, .Zip etc…

Technology CommunityCategory: CSSWrite down a selector that will match any links end in .zip, .ZIP, .Zip etc…
VietMX Staff asked 3 years ago

Use case-insensitive attribute matchingi. This is a new feature in CSS Selectors Level 4.

Consider:

a[href$=".zip" i]:after {
  content: '↓'
}