Make first-letter of label uppercase

By adamj

I’ve attached a code example just to make things a bit easier.

I’m wondering if I’m doing this correctly or if this is a futile attempt. Hope to god JavaScript is not needed for something as simple as this.

Thank you very much on any insights!

label span:before {
  display: inline-block;
    content: " ";
  width: 10px; height: 10px;
    margin-right: 10px;
  border: 1px solid #333;
label {
  text-transform: lowercase;
label::first-letter {
  text-transform: uppercase;

Source: Stack Overflow


Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273