Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set mdButton text to lowercase?

As you can see from here, mdButton will set your text with uppercase letters. What if I want to make lowercase?

like image 974
Disp Hay Avatar asked Nov 16 '15 04:11

Disp Hay


2 Answers

Write your own class using css text-transform such as,

.tolowercase {
    text-transform: lowercase;
}

.tocapitalize {
    text-transform: capitalize;
}

And apply it to the input/button.

If you want htis behaviour throughout the system override the .md-button class in your css,

 .md-button {    
    text-transform: capitalize !important;/*For Lower case use lowercase*/
}
like image 67
Dhanuka777 Avatar answered Nov 02 '22 12:11

Dhanuka777


Remove the text-transform from md-button in CSS:

md-button {
  text-transform: none
}
like image 35
Ollie Avatar answered Nov 02 '22 13:11

Ollie