Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to achieve a text-muted effect for a label

I have the following label:

<label for="name" class="control-label"><h5 class="text-muted">Name</h5></label>.

I would like to have a text-muted effect for the label text, but my markup above does not accomplish that. What is the right way of doing this?

like image 585
Eugene Goldberg Avatar asked Dec 08 '22 08:12

Eugene Goldberg


1 Answers

I am sorry to ask, but what is your CSS of the .class-muted ? Didn't you forget to write the code to the css file?

Here's the working fiddle http://jsfiddle.net/2Q2Rz/1/

Update

If you are using Twitter Bootstrap 2.3.2 or older, there's no .text-muted class, it is .muted according to the documentation

The .text-muted class appears only in Twitter Bootstrap 3

like image 127
knitevision Avatar answered Dec 29 '22 16:12

knitevision