0

我对标签和输入字段周围的包装器有边框悬停效果。如何删除/覆盖提交类型的包装边框和悬停效果?我正在使用顺风,但我主要遇到针对正确课程的问题。

这是我的 CSS

<style>
.formulate-input {
  @apply my-8;
}
.formulate-input-wrapper {
  @apply border-2 border-regal-blue-400;
}
.formulate-input-wrapper:hover {
  @apply border-red-900;
}
.formulate-input-label {
  @apply px-4 pt-3 pb-2 text-lg block w-full  bg-regal-blue-400;
}
.formulate-input-element input,
.formulate-input-element textarea,
.formulate-input-element select {
  @apply pb-4 px-4 w-full bg-regal-blue-400 text-xl;
}
.formulate-input-element button {
  @apply border-none;
}
.formulate-input-element--submit {
  width: fit-content;
  @apply py-1 px-4 bg-regal-blue-600 border-2 border-red-600 rounded-full tracking-wider;
}
.formulate-input-element input:focus,
.formulate-input-element select:focus {
  outline: none;
}
.formulate-input-errors {
  color: hsl(0, 100%, 40%);
}
</style>
4

0 回答 0