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.
如何使我的动态文本适合弹性/流体 div?
所以我有一个流畅的 div 和一些文字。我想让该文本大小与 div 一样大,并在 div 改变大小时进行调整。
有任何想法吗?
谢谢!
只需使用
align="justify"
对于内联和
text-align: justify
对于 CSS。
我无法完全理解您的问题,但据我所知,您可以使用css 的min-height和min-width属性。
I want to pass in an unknown object to a method, and then let it return the object as a List. Basically, I want something like this
object b = new MyType(); object a = new List<MyType>