Skip to main content

shorthand_side_token

Function shorthand_side_token 

Source
pub(crate) fn shorthand_side_token(m: &str, idx: usize) -> Option<&str>
Expand description

1〜4 値の辺ショートハンド(margin/padding/inset 等)から物理の辺 idx(0=top,1=right,2=bottom,3=left)の値を取る。