align.module.css
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/css/system/components/align.module.css
- 9 core/themes/stable/css/system/components/align.module.css
- 9 core/modules/system/css/components/align.module.css
- 10 core/themes/stable9/css/system/components/align.module.css
- 10 core/modules/system/css/components/align.module.css
- 11.x core/themes/stable9/css/system/components/align.module.css
- 11.x core/modules/system/css/components/align.module.css
Alignment classes for text and block level elements.
File
-
core/
modules/ system/ css/ components/ align.module.css
View source
- /**
- * @file
- * Alignment classes for text and block level elements.
- */
-
- .text-align-left {
- text-align: left;
- }
- .text-align-right {
- text-align: right;
- }
- .text-align-center {
- text-align: center;
- }
- .text-align-justify {
- text-align: justify;
- }
-
- /**
- * Alignment classes for block level elements (images, videos, blockquotes, etc.)
- */
- .align-left {
- float: left;
- }
- .align-right {
- float: right;
- }
- .align-center {
- display: block;
- margin-right: auto;
- margin-left: auto;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.