سؤال

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