a fill parent css code example
Example 1: css fill parent height
html, body {
height: 100%
}
body {
display: flex;
align-items: stretch;
}
#root {
width: 100%
}
Example 2: css anchor fill parent
a {
display: flex;
justify-content: center;
align-items: center;
}