문제

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