谷歌地图新的搜索框样式

时间:2015-10-12 13:09:24

标签: html css html5 css3

我如何创建谷歌地图搜索框样式? Css和Html的新风格

<input id="address" style="position:absolute; left:10px;"  type="text" placeholder="Enter a location">

1 个答案:

答案 0 :(得分:0)

您可以像任何其他元素一样设置样式。

element.style {
position: relative;
overflow: hidden;
transform: translateZ(0px);
background-color: rgb(229, 227, 223);
}
#map {
width: 100%;
height: 250px;
background: #000;
margin: 5em 0 0 0;
}

在我的网站上有一个例子:http://www.loadingequipment.com/contact/

相关问题