📜  标签和输入表单之间的空格 - CSS 代码示例

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

代码示例1
label {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  text-align: right;
  width: 400px;
  line-height: 26px;
  margin-bottom: 10px;
}

input {
  height: 20px;
  flex: 0 0 200px;
  margin-left: 10px;
}