📜  如何在 css 代码示例中更改标签字体样式

📅  最后修改于: 2022-03-11 14:48:01.300000             🧑  作者: Mango

代码示例1
.swap {
  position: relative;
  padding-left: 80px;
}
.swap + .swap {
  margin-top: 5px;
}
.swap label {
  position: absolute;
  left: 0;
}

input:focus+label {
  font-family: 'Roboto Medium', sans-serif;
  font-size: 16px;
  color: #000;
  font-weight: 100;
}