my-banner.css
Same filename and directory in other branches
.component--my-banner {
position: relative;
width: 80%;
max-width: 1200px;
padding: 2em;
color: white;
background: black;
background-size: cover;
}
.component--my-banner--header {
display: flex;
align-items: center;
justify-content: space-between;
}
.component--my-banner--header h3 {
margin: 0;
font-size: 2em;
}
.component--my-banner--body > * {
margin-bottom: 0;
}
.component--my-banner--body > :first-child {
margin-top: 1em;
}
File
-
core/
modules/ system/ tests/ modules/ sdc_test/ components/ my-banner/ my-banner.css
View source
- .component--my-banner {
- position: relative;
- width: 80%;
- max-width: 1200px;
- padding: 2em;
- color: white;
- background: black;
- background-size: cover;
- }
- .component--my-banner--header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .component--my-banner--header h3 {
- margin: 0;
- font-size: 2em;
- }
- .component--my-banner--body > * {
- margin-bottom: 0;
- }
- .component--my-banner--body > :first-child {
- margin-top: 1em;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.