[英]How to text-align in textbox in right bottom corner?
You can achieve it using the padding
property. 您可以使用
padding
属性来实现。 See the snippet below. 请参见下面的代码段。 You can try it and adjust the values in this fiddle
您可以尝试一下并调整此小提琴中的值
.my-input{ padding: 6px 8px 0 8px; text-align: right; }
<input type="text" class="my-input">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.