You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradients fade out to transparent by default, without requiring you to add `to-transparent` explicitly. Tailwind intelligently calculates the _right_ "transparent" value to use based on the starting color to avoid [a bug in Safari < 15.4](https://bugs.webkit.org/show_bug.cgi?id=150940) that causes fading to simply the `transparent` keyword to fade through gray, which just looks awful.
@@ -163,8 +191,24 @@ Gradients fade out to transparent by default, without requiring you to add `to-t
In addition to the colors, you can also customize the gradient color stop positions by editing `theme.gradientColorStopPositions` or `theme.extend.gradientColorStopPositions`.
197
+
198
+
```diff-js tailwind.config.js
199
+
module.exports= {
200
+
theme: {
201
+
extend: {
202
+
+ gradientColorStopPositions: {
203
+
+33:'33%',
204
+
+ }
205
+
}
206
+
}
207
+
}
208
+
```
209
+
210
+
Learn more about customizing the default theme in the [theme customization](/docs/theme#customizing-the-default-theme) documentation.
0 commit comments