mirror of
https://github.com/thangisme/notes.git
synced 2024-06-12 06:50:44 +00:00
58 lines
549 B
Markdown
58 lines
549 B
Markdown
# selector-type-case
|
|
|
|
Specify lowercase or uppercase for type selectors.
|
|
|
|
```css
|
|
a {}
|
|
/** ↑
|
|
* This is type selector */
|
|
```
|
|
|
|
## Options
|
|
|
|
`string`: `"lower"|"upper"`
|
|
|
|
### `"lower"`
|
|
|
|
The following patterns are considered warnings:
|
|
|
|
```css
|
|
A {}
|
|
```
|
|
|
|
```css
|
|
LI {}
|
|
```
|
|
|
|
The following patterns are *not* considered warnings:
|
|
|
|
```css
|
|
a {}
|
|
```
|
|
|
|
```css
|
|
li {}
|
|
```
|
|
|
|
### `"upper"`
|
|
|
|
The following patterns are considered warnings:
|
|
|
|
```css
|
|
a {}
|
|
```
|
|
|
|
```css
|
|
li {}
|
|
```
|
|
|
|
The following patterns are *not* considered warnings:
|
|
|
|
```css
|
|
A {}
|
|
```
|
|
|
|
```css
|
|
LI {}
|
|
```
|