请老师过目

来源:2-8 编程练习

qq_鸭绿桥第一帅哥_0

2019-03-13 14:24:24

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>a</title>
    <style type="text/css">
        input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px white inset;  
}
    </style>
</head>
<body>
    <form autocomplete="off" action="" method="post">
        <input type="text" name="a">
        <input type="submit" name="b">
    </form>
    
</body>
</html>


写回答

1回答

山河远阔ZZ

2019-03-13

同学你好,建议autocomplete的值设置为on,这样能够查看改变表单填充的背景效果哦。

参考下图:

http://img.mukewang.com/climg/5c88a85e0001cc0808110138.jpg

试一试哦,如果帮助到了你,欢迎采纳。

祝学习愉快!

0

0 学习 · 5012 问题

查看课程

相似问题

请老师过目

回答 2

请老师过目

回答 1

请老师过目

回答 1

请老师过目

回答 1

请老师过目

回答 1