Support for basic CSS: text-capitalize

1 Answer 15 Views
TextBox
Jason
Top achievements
Rank 1
Iron
Veteran
Jason asked on 06 May 2022, 05:46 PM

Is there an easy way to capitalize a control like a textbox? In CSS it's just text-transform: capitalize; Bootstrap has a class called: text-capitalize.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 07 May 2022, 03:44 PM

Hello Jason,

You can use the same CSS on a Telerik component too.

Here's a sample: https://blazorrepl.telerik.com/GmOJYLvf43aeoXuh30.

The key thing is to find the suitable CSS cascade to target the appropriate element. The second one in the example above targets a simple telerik textbox, for example. Depending on how you want to use this, you can make it more or less specific, add or remove selectors, etc.

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TextBox
Asked by
Jason
Top achievements
Rank 1
Iron
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or