I'm trying to put the background image over the whole page. Also the background should cover the Material Data Table. What is the best way to do it? The background should also be transparent, so that you can read the content of the table.
Following the code of adding the background image: HTML:
<div class="image">
<mat-toolbar color="primary">
<mat-toolbar-row>
<img src="assets/{{img_source}}" alt="img_source" title="img_source" width="25%" height="100%"> // not important
</mat-toolbar-row>
</mat-toolbar>
<app-coffee-information></app-coffee-information>
</div>
CSS:
.image {
height: 45em;
background-size: cover;
width: auto;
background-image: url('../assets/Unknown.jpg');
background-position: 50% 50%;
}
When changing the height to: height: 100%; it looks like this:

