css文本框写圆角样式

css样式:文本框样式

<textarea id="expInput" v-model="expForm.exp" rows="4" />

<style lang="less">
#scriptInput {
  // 边框样式设置
  display: inline-block;
  // height: 30px;
  width: 100%;
  border-radius: 4px;
  line-height: 28px;
  padding-left: 10px;
  // background-color: lightgray;
  border: 1px solid lightgray;
  // 字体设置
  font-size: 14px;
  color: rgb(95, 98, 105);
}
</style>
发布了18 篇原创文章 · 获赞 9 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/xueyue616/article/details/95613395