-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
data:cssCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSSCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Description
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
I expected docs and compat data for random() in CSS.
Supported from Safari 26.2
Did you test this? If so, how?
https://codepen.io/jdatapple/pen/YPyELeV?editors=1100
animation: fade-in random(2s, 5s);
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://webkit.org/blog/17640/webkit-features-for-safari-26-2/#css
The random() function lets you include a randomly generated value from a specified range in your calculations. For example, random(0, 100, 2) will choose an even number between 0 and 100, while random(0turn, 1turn) will be a fraction of a turn — basically, any decimal between 0 and 360 degrees. Learn all about what the CSS random function can do in our article, Rolling the dice with CSS random().
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response
Metadata
Metadata
Assignees
Labels
data:cssCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSSCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSS