Hi, I want to use the first letter of each word that I was looking for, but I did not understand it, is it possible with
CSS
?
My code only works for the first letter.
HTML
<span>Some Text Value</span>
.listing-table table th:first-letter { font-size: 15px; font-weight: bold; }
You can try using this:
p { text-transform: capitalize; }
From docs :
text conversionThis property controls the capitalization effects of the element text.capitalize Places the first character of each word in uppercase; Other characters are not affected.
text conversion
This property controls the capitalization effects of the element text.
capitalize Places the first character of each word in uppercase; Other characters are not affected.
:first-letter , . , span HTML th CSS, ?
:first-letter
span
th
:
.listing-table table th{ text-transform: capitalize; }
Source: https://habr.com/ru/post/1606784/More articles:HTML DIV Переполнение, как остановить? - htmlDiv border is not a straight line after turning in Firefox on Mac - javascriptSFSafariViewController: how to provide custom actions? - iosbootstrap-table-filter-control extension does not work in boot table - javascriptbootstrap table filter-control - how to undo unwanted values from selection options - jqueryLock / Unlock Screen Detection in Ionic App - pluginsWhat does symbol / symbol mean in UML - androidAngular Catch a Global Click - javascriptListen to jQuery event without jQuery - javascriptКак мне вызвать функцию JavaScript из кода Asp.Net? - javascriptAll Articles