blogger - 如何使用按钮创建链接以更改页面并更改新页面的背景颜色
问题描述
我有一个按钮列表来改变背景颜色的工作,但我想链接一个页面,而不是改变加载页面的颜色。我的代码在 Blogger 中运行,模板是 Soho。
我的代码如下:
<style>
.hamburger-menu {
display:none !important;
}
.sidebar-container {
display:none !important;
width: 0px !important;
max-width: 0px !important;
}
.sidebar-container .sidebar_bottom {
width: 0px !important;
max-width: 0px !important;
}
.page_body .centered {
max-width:100%;
}
.page_body {
margin-left:0px;
}
.sticky {
padding-left:0px;
}
body.collapsed-header .page_body .centered-top-container {
padding-left:0px;
}
</style>
要查看效果,只需单击浅绿色按钮matematica sqrt
,应使检索的页面保持绿色,但它会为背景着色,而不是检索页面。
非常感谢
解决方案
推荐阅读
- linux - 复制和重命名文件 - Linux cp 命令
- swift - iOS 应用程序中的布局问题 (NSLayoutConstraint)
- java - 无法使用 Comparator.Comparing 对 Java Set 进行排序
- java - Ubuntu Java jdk 8 安装问题。安装后发现openjkd 11安装了java8的RPM
- azure - 通过 Log Analytics 获取用户启动的 VM 重启信息
- java - Java:如何在收据打印机上打印欧元符号
- android - 未发送 IAP 订阅事件消息的实时开发者通知
- c++ - 对数组中的整数进行排序。但它不适用于某些情况
- ruby - 如何使用 Kiba-ETL 转换嵌套的 JSON 有效负载?
- c++ - 无法使用 boost 在目录中创建文件列表