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.
Semantic-Ui似乎只提供uppercase按钮(通过text-transform)。CSS 在不修改按钮大小写的情况下使用此 UI 框架的最佳方法是什么?
uppercase
text-transform
CSS
在您自己的 CSS 中,只需设置text-transform为初始值:
.ui.button { text-transform: initial; }
该initial属性将使您的按钮文本与 HTML 中的文本保持一致。
initial
HTML Uppercase Initial Foo FOO Foo fOO FOO fOO FOO FOO FOO
应用于text-transform:none !important;您的按钮。
text-transform:none !important;