css_ast/types/
content_position.rs

1use css_parse::keyword_set;
2use csskit_derives::Visitable;
3
4keyword_set!(
5	/// <https://drafts.csswg.org/css-align-3/#typedef-content-position>
6	///
7	/// ```text,ignore
8	/// <content-position> = center | start | end | flex-start | flex-end
9	/// ```
10	#[derive(Visitable)]
11	#[visit(skip)]
12	pub enum ContentPosition {
13		Center: "center",
14		Start: "start",
15		End: "end",
16		FlexStart: "flex-start",
17		FlexEnd: "flex-end",
18	}
19);