You can use any CSS the browser(s) support, if you’re writing a theme.
The CSS Editor is somewhat more limited, though: the component it uses to validate CSS doesn’t “know” about many newer properties, so things like CSS Grid likely won’t work there. In a theme’s CSS directly, though, they’d be fine.