javascript - Input and cover the padding-left of input[placeholder] prompt content in iview form
漂亮男人
漂亮男人 2017-06-10 09:49:22
0
2
915

Input and cover the padding-left of input[placeholder] prompt content in iview form

<Form-item prop="password">

        <Input type="password" v-model="formInline.password" placeholder="Password">
        </Input>
    </Form-item>
    

The solution is: placeholder="Password"
The default padding-left of password; I need padding-left=50px; I can’t set it no matter how I set it

漂亮男人
漂亮男人

reply all(2)
習慣沉默


It can be set up successfully. Can you see if the priority of the padding-left style you set is higher than input[type="password" i]?

洪涛

Directly in the console, copy all the element names where the default style is located, so that modifications can ensure the highest priority

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!