Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

twocol.css

Same filename in this branch
  1. 11.1.x core/modules/layout_discovery/layouts/twocol/twocol.css
/*
 * @file
 * Provides the layout styles for layout_twocol.
 */

.layout--twocol {
  display: flex;
  flex-wrap: wrap;
}

.layout--twocol > .layout__region {
  flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
  .layout--twocol > .layout__region--first,
  .layout--twocol > .layout__region--second {
    flex: 0 1 50%;
  }
}

File

core/themes/stable9/layouts/layout_discovery/twocol/twocol.css

View source
  1. /*
  2. * @file
  3. * Provides the layout styles for layout_twocol.
  4. */
  5. .layout--twocol {
  6. display: flex;
  7. flex-wrap: wrap;
  8. }
  9. .layout--twocol > .layout__region {
  10. flex: 0 1 100%;
  11. }
  12. @media screen and (min-width: 40em) {
  13. .layout--twocol > .layout__region--first,
  14. .layout--twocol > .layout__region--second {
  15. flex: 0 1 50%;
  16. }
  17. }

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal