Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用css设置表单样式_Css - Fatal编程技术网

如何使用css设置表单样式

如何使用css设置表单样式,css,Css,嗨,我不知道怎么做这个 在我的表单输入中: <input type="text" class="span2"> 右下角的小背景。 感谢您的帮助您可以使用backgroundcss属性执行此操作 background: url('/img.png') no-repeat right bottom; border-right: 10px solid transparent; 请给我们看一些您尝试过的代码。用绝对位置制作一个三角形如果您使用背景,图像将随着文本区域大小的调整而调整

嗨,我不知道怎么做这个

在我的表单输入中:

<input type="text" class="span2">

右下角的小背景。
感谢您的帮助

您可以使用
background
css属性执行此操作

background: url('/img.png') no-repeat right bottom;
border-right: 10px solid transparent;

请给我们看一些您尝试过的代码。用绝对位置制作一个三角形如果您使用背景,图像将随着文本区域大小的调整而调整。@NavinLauniya:您能帮我们创建一些代码吗?@Lena Queen这里有一个粗略的想法:谢谢您的帮助。@LenaQueen始终欢迎您……很高兴帮助您。