Explanation
The selector is represented using the E[attr$="value"] syntax. Here, E represents the element type or class, attr represents the attribute name, and "value" represents the desired ending value.
Example:
a[href$=".pdf"] {
/* CSS styles for matching elements */
}