gpt4 book ai didi

html - 博客模板 : how to change the color of the border css

转载 作者:行者123 更新时间:2023-11-27 22:35:18 25 4
gpt4 key购买 nike

我正在尝试更改 my blog 上模板样式表中的边框,但我从来没有用 css 做过任何事情,所以我有点不知所措......我想保留深色背景,但我想在我的帖子周围创建一个颜色略有不同的小边框。如果我的猜测是正确的,那么我应该修改其中的一些定义:

body {
background:$bgcolor;
margin:0;
color:$textcolor;
font: x-small "Trebuchet MS", Trebuchet, Verdana, Sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
a:link {
color:$linkcolor;
text-decoration:none;
}
a:visited {
color:$visitedlinkcolor;
text-decoration:none;
}
a:hover {
color:$titlecolor;
text-decoration:underline;
}
a img {
border-width:0;
}

这是我正在使用的整个模板的馅饼:http://pastie.org/932535

有没有快速达到预期效果的方法?感谢您的帮助!

最佳答案

要在每个单独的帖子周围添加边框,您可以尝试将其添加到类 .post 中:

.post {
border: 1px solid;
}

关于html - 博客模板 : how to change the color of the border css,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2702996/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com