为什么我自己的文本和密码输入不同? [英] Why is my own text and password input different?

查看:74
本文介绍了为什么我自己的文本和密码输入不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常通过将类型分别设置为文本和密码来创建我的文本和密码输入,但我自己的文本和密码在puts中与我在脸书和雅虎等热门网站上看到的完全不同。他们看起来更美丽,更有吸引力和吸引力。



他们在做什么我不做?



我尝试过:



我通过将type属性分别设置为text和password来创建文本和密码输入。

I usually create my text and password inputs by setting type to text and password respectively, but my own text and password in puts is quite different from the ones I see on popular sites like face book and yahoo. Theirs look more beautiful,attractive and appealing.

What are they doing that I am not doing?

What I have tried:

I create text and password inputs by setting the type attribute to text and password respectively.

推荐答案

在代码上应用 CSS


他们使用不同的CSS(层叠样式表)规则来设置他们的样式网站。

学习 HTML5初学者指南& CSS3 - 为您的第一个网页设置样式 [ ^ ]使用CSS或使用一些前端Web开发框架,例如 Bootstrap [ ^ ]
They use different CSS (Cascading Style Sheet) rules to style their websites.
Learn to Beginner's Guide to HTML5 & CSS3 - Styling Your First Web Page[^] using CSS or use some front-end web development framework such as Bootstrap[^]


这篇关于为什么我自己的文本和密码输入不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆