It might be a good idea to have a "Styling the map" page which would include explanations for:
And other - perhaps more common use cases - such as:
We could then link to that page from https://github.com/Maps4HTML/Web-Map-Custom-Element#styling-the-map-element (or remove that section altogether).
It might be a good idea to have a "Styling the map" page which would include explanations for:
:definedpseudo-classheight/width)display: noneof fallback content if JS is disabledAnd other - perhaps more common use cases - such as:
max-width: 100%)%value height maps(see also Fix issue with standalone maps not always spanning the entire visible viewport experiments#93)
We could then link to that page from https://github.com/Maps4HTML/Web-Map-Custom-Element#styling-the-map-element (or remove that section altogether).