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.
如何在 OSX 上的 Mail App 中制作类似的输入字段。
这是一个屏幕截图 -
我想要的是能够像上图所示对文本进行分组。因此,我可以使用一个输入字段,而不是多个输入字段(例如,在邮件应用程序的情况下 - 从、到、主题等)。
我不完全理解这里的问题,但我猜想对 CSS 的一些巧妙使用,您可以在 div 中放置一个下拉菜单和一个输入表单,其样式看起来像一个输入表单会起作用吗?