样式表未正确使用 html 文件,但它适用于其他 html 文件
stylesheet is not used correctly the html file, but it works fine for the other html file
您好,我已经为我的网站定义了通用样式,但它们不适用于我的样式表。我不知道为什么。谢谢你的帮助。
在我的另一个 html 中,我使用的是相同的样式表,但它不适用于这个。
这是它的外观截图。所有样式都有效,但不会应用输入样式。
您的所有输入元素样式都已被 Bootstrap.Add 中的 .form-control class 覆盖!对您的输入元素样式很重要。
在 css 规则之前添加 <body>
的 class
。
有关详细信息,请参阅 Cascade and inheritance。
.startseite * {
}
.startseite input {
}
.startseite select {
}
.startseite button {
}
您好,我已经为我的网站定义了通用样式,但它们不适用于我的样式表。我不知道为什么。谢谢你的帮助。
在我的另一个 html 中,我使用的是相同的样式表,但它不适用于这个。 这是它的外观截图。所有样式都有效,但不会应用输入样式。
您的所有输入元素样式都已被 Bootstrap.Add 中的 .form-control class 覆盖!对您的输入元素样式很重要。
在 css 规则之前添加 <body>
的 class
。
有关详细信息,请参阅 Cascade and inheritance。
.startseite * {
}
.startseite input {
}
.startseite select {
}
.startseite button {
}