CSS Attribute Selector


### style 에 많이 사용
```type/* <a> elements with an href containing "example" */a[style*="color: blue"] {  font-size: 2em;}```


```type/* Internal links, beginning with "#" */a[href^="#"] {  background-color: gold;}```

```type/* <a> elements with a title attribute */a[title] {  color: purple;}/* <a> elements with an href matching "https://example.org" */a[href="https://example.org"] {  color: green;}/* <a> elements with an href ending ".org" */a[href$=".org"] {  font-style: italic;}/* <a> elements whose class attribute contains the word "logo" */a[class~="logo"] {  padding: 2px;}```



> [Attribute selectors - CSS: Cascading Style Sheets | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors)





