Вопрос

I am the proud owner of http://rubin.cf, freshly loaded with Bootstrap, and some custom css (google fonts). Is there a way to make all place-holder links (something) to be red? I only want links which point to # to be red

Это было полезно?

Решение

You could use an attribute selector like:

a[href="#"] {
    color:red;
}

jsFiddle example

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top