Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
又是我和我的愚蠢问题。现在我得到了以下页面:
http://jsfiddle.net/g3VBT/
我想让“在此处输入您的 URL”文本具有以下属性:
字体粗细:600; 字体大小:1.5em;
问题是,如果我编辑字体大小,整个框看起来不对。有解决方案吗? 谢谢!
如果你提高字体大小,宽度也会增加。将值减小到 eg20em 或更小,然后您可以将 font-size 设置为 1.5em。
如果您提出“这就是它的样子”和“它不应该看起来像这样”,就会更容易理解您的问题。
并且在哪个平台上看到这个提示也很有帮助......
你说的错是什么意思?尝试减少填充。
如果要增加字体大小,则还应更改填充和宽度。