I must change a link_to tag color without using a CSS class, how can I do? I\'ve tried something such as
<%= link_to item.description, {}, {:style=>\'c
If you have a class called test-color, you can assign the :hover selector to that class by joining the class name and the :hover selector together.
Class hooks begin with a dot(.), IDs begin with a hash(#)
.test-color:link {
color: #333333;
}
.test-color:visited {
color: #FFFFFF;
}
.test-color:hover {
color: #CCCCCC;
}
.test-color:active {
color: #333333;
}