javascript - 具有透明背景的 Google 自定义搜索

标签 javascript html css blogger google-custom-search

我使用布局 -> 添加小工具 -> html/javascript 将自定义 Google 搜索嵌入到我的博客网站中。

但是,搜索框的背景是白色的。如何使背景透明?

Copying the code for the google search.

The google box has a white background.

enter image description here

正如您在最后一个屏幕截图中看到的,搜索框的背景颜色没有选项。还有其他方法可以使其透明吗?

最佳答案

沟通不畅!所谓的专业人士应该简单地说, “请参阅 Google 自定义搜索并单击 CSS 源文件。”

搜索“背景颜色”然后更改: 背景颜色:透明;

这就是答案! enter image description here enter image description here

关于javascript - 具有透明背景的 Google 自定义搜索,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29942538/

相关文章:

javascript - mootools: new Element() - 无法在 IE 中使用

jquery - 向类中添加自定义伪 CSS

php - 更改 WordPress 默认激活电子邮件的主题和内容

javascript - 如何在开放层 3 中传递纬度和经度?

javascript - 使用 setInterval 替代 2 个常量

javascript - 刷新页面不会应用 Angular 中的更改

html - 4k 手机分辨率会影响依赖像素宽度的响应式 CSS 吗?

javascript - 如何在对象中添加项目?

html - 如何在html表单旁边插入一个div

html - 选择导航栏中的第一个 <li>