I'm building a website with Google Material Components for web. I added a drawer to my website and I want to add a header image but I don't know how to do it. Here's the drawer section in Material Design's website:
How can I add header image to drawer in Google Material Components web?
283 views Asked by DvDv At
1
Until now, there is still no official way on achieving this. The easiest way is to:
first, wrap your header titles (not including the img tag),
second, on your CSS file, or on your
styletag,Note: It is not necessary to have the image width to be 32.5%, but it is critical to have a 2% allowance on the total width. 30% and 68% would work.