Skip to content

Commit d3209b6

Browse files
committed
feat: mask-repeat:no-repeat intuitive/consistent
Based on a sanitize.css pull request: csstools/sanitize.css#239
1 parent c7b5413 commit d3209b6

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,11 @@ default.css maybes:
4646
}
4747
```
4848

49-
develop.css maybes:
50-
51-
- Mask images are not repeated (from [a sanitize.css pull request](https://github.com/csstools/sanitize.css/pull/239)):
52-
53-
```css
54-
*, ::before, ::after {
55-
mask-repeat: no-repeat;
56-
}
57-
```
58-
5949
<details>
6050

6151
<summary>Rename?</summary>
6252

63-
- ( ) default.css, development.css, (spacing.css, typographic.css) (For style some?)
53+
- ( ) default.css, development.css, (space.css, typographic.css) (For style some?)
6454
- (-) default.css, develop.css, (space.css, typographic.css)
6555
- ( ) default.css, dx.css, (space.css, typographic-style.css)
6656
- ( ) default.css, develop.css, (even.css, flow.css)

src/develop.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
*, ::before, ::after {
44
/* Background images are not repeated. */
5-
background-repeat: no-repeat; }
5+
background-repeat: no-repeat;
6+
/* Mask images are not repeated. */
7+
mask-repeat: no-repeat; }
68

79
::before, ::after {
810
/* Inherit border-radius. */

src/where-develop.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
) {
66
/* Background images are not repeated. */
77
background-repeat: no-repeat;
8+
/* Mask images are not repeated. */
9+
mask-repeat: no-repeat;
810
}
911

1012
:where(

0 commit comments

Comments
 (0)