css_ast/types/content_distribution.rs
1use css_parse::keyword_set;
2use csskit_derives::Visitable;
3
4keyword_set!(
5 /// <https://drafts.csswg.org/css-align-3/#typedef-content-distribution>
6 ///
7 /// ```text,ignore
8 /// <content-distribution> = space-between | space-around | space-evenly | stretch
9 /// ```
10 #[derive(Visitable)]
11 #[visit(skip)]
12 pub enum ContentDistribution {
13 SpaceBetween: "space-between",
14 SpaceAround: "space-around",
15 SpaceEvenly: "space-evenly",
16 Stretch: "stretch",
17 }
18);