Html 如何更改google maps mapType控制器的字体大小?

Html 如何更改google maps mapType控制器的字体大小?,html,css,google-maps,Html,Css,Google Maps,我可以更改google maps mapType控制器的大小,但无法更改字体大小。是否可以通过html或css更改字体大小 HTML: <div #map id="map" style="height:250px;"></div> 您是否已尝试在中添加!重要信息属性 !重要信息属性忽略其他CSS规则,这些规则具有!重要信息已应用属性。例如: .gm-style-mtc > div:first-child { width: 60px; height: 20

我可以更改google maps mapType控制器的大小,但无法更改字体大小。是否可以通过html或css更改字体大小

HTML:

<div #map id="map" style="height:250px;"></div>

您是否已尝试在
中添加!重要信息
属性

!重要信息
属性忽略其他CSS规则,这些规则具有
!重要信息
已应用属性。例如:

.gm-style-mtc > div:first-child {
  width: 60px;
  height: 20px;
  font-size: 15px !important;
}

.gm-style-mtc > div > div {
  width: 100%;
  height: 100%;
  font-size: 15px !important;
}
我希望这有帮助

.gm-style-mtc > div:first-child {
  width: 60px;
  height: 20px;
  font-size: 15px !important;
}

.gm-style-mtc > div > div {
  width: 100%;
  height: 100%;
  font-size: 15px !important;
}