diff --git a/components/01_Layouts/alignment/_alignment.styl b/components/01_Layouts/alignment/_alignment.styl index 4fbdb58..1b56407 100644 --- a/components/01_Layouts/alignment/_alignment.styl +++ b/components/01_Layouts/alignment/_alignment.styl @@ -1,40 +1,36 @@ +RV-Alignment() + position absolute + display grid + RV-Alignment--top() +RV-Block__Modifier--name('top') - display grid align-content start RV-Alignment--bottom() +RV-Block__Modifier--name('bottom') - display grid align-content end RV-Alignment--left() +RV-Block__Modifier--name('left') - display grid justify-content start RV-Alignment--right() +RV-Block__Modifier--name('right') - display grid justify-content: end RV-Alignment--horizontalCenter() +RV-Block__Modifier--name('horizontalCenter') - display grid justify-content center RV-Alignment--verticalCenter() +RV-Block__Modifier--name('verticalCenter') - display grid align-items center RV-Alignment--center() +RV-Block__Modifier--name('center') - RV-Alignment--horizontalCenter() - RV-Alignment--verticalCenter() - -RV-Alignment() - display grid + + align-items center + justify-content center +RV-Block('RV-Alignment') RV-Alignment()