Adrian Roselli on Nostr: I can set the start position of a CSS `linear-gradient` with an angle, a starting ...
I can set the start position of a CSS `linear-gradient` with an angle, a starting position & direction, or a rotation from 0,0.
Is there a logical property value to set the start position / edge instead?
Like `inset-inline-start` to start from the left in LTR languages but from the right in RTL langs?
I want:
```
background:
linear-gradient(
inset-inline-start,
transparent 0%,
transparent calc(100% - 0.1em),
#f00 calc(100% - 0.1em),
#f00 100%
);
```
#CSS #i18n
Is there a logical property value to set the start position / edge instead?
Like `inset-inline-start` to start from the left in LTR languages but from the right in RTL langs?
I want:
```
background:
linear-gradient(
inset-inline-start,
transparent 0%,
transparent calc(100% - 0.1em),
#f00 calc(100% - 0.1em),
#f00 100%
);
```
#CSS #i18n