mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
improve the http aio example by: - adding a background color to the messages section so that it can be distinguished from the others - avoid using `hr` elements to divide the various sections, use css instead (so that the divisions can also be omitted when the sections are not being shown) - fix the erroneous presence of an input text element inside a button (see: https://github.com/angular/angular/pull/44557#discussion_r787239658) PR Close #44986
16 lines
252 B
CSS
16 lines
252 B
CSS
.checkboxes {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.checkboxes > label {
|
|
flex: 0 0 max-content;
|
|
margin: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
section:not(:last-of-type) {
|
|
padding-bottom: 2rem;
|
|
border-bottom: 1px solid black;
|
|
}
|