You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

43 lines
1.0 KiB

/**
* This file is part of the jps-like-websites lib
* URL: https://git.labos.goip.de/chris/jpc-like-websites
* @copyright by its creator Christian Martin
*/
/**
* Enum providing common alignment rules
*/
const Alignment = Object.freeze({
/* Normal alignment */
NORMAL: "normal",
/* Basic positional alignment */
/* align-content does not take left and right values */
START: "start",
CENTER: "center",
END: "end",
FLEX_START: "flex-start",
FLEX_END: "flex-end",
/* Baseline alignment */
BASELINE: "baseline",
FIRST_BASELINE: "first baseline",
LAST_BASELINE: "last baseline",
/* Distributed alignment */
SPACE_BETWEEN: "space-between",
SPACE_AROUND: "space-around",
SPACE_EVENLY: "space-evenly",
STRETCH: "stretch",
/* Overflow alignment */
SAFE_CENTER: "safe center",
UNSAFE_CENTER: "unsafe center",
/* Global values */
INHERIT: "inherit",
INITIAL: "initial",
REVERT: "revert",
REVERT_LAYER: "revert-layer",
UNSET: "unset"
})