🚧 (pagetop): Comparte align entre Flex y Grid
Extrae `Align`/`AlignContent`/`ItemAlign`/`Gap` de Flexbox a un nuevo módulo neutral `html::align` (`Items`/`Content`/`ItemSelf`/`Gap`) para que tambien lo use CSS Grid.
This commit is contained in:
parent
c2ec7568f0
commit
dfff12881f
8 changed files with 291 additions and 73 deletions
|
|
@ -37,8 +37,12 @@ pub use unit::UnitValue;
|
|||
|
||||
// **< HTML LAYOUT >********************************************************************************
|
||||
|
||||
// Mecanismo interno compartido por `flex` y `grid` para resolver clases CSS nativas *responsive*.
|
||||
mod responsive;
|
||||
|
||||
// Vocabulario de alineación compartido por `flex` y `grid`.
|
||||
pub mod align;
|
||||
|
||||
pub mod flex;
|
||||
#[doc(inline)]
|
||||
pub use flex::{Flex, FlexItem};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue