A
A
Aladdin2016-11-16 17:49:09
css
Aladdin, 2016-11-16 17:49:09

How to change the color of a specific link on the page, and not all?

You need to change the css properties of a specific link, not all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2016-11-16
@Mr_Tabrest_3115

Option 1: see Ivan Sergeev
's answer, give it a class or id
Option 2:
if you need to color a link that links to a specific page:

a[href="тут чему равно"] {
стили
}

In this case, you can use not only the equal sign, but also contains, begins, does not equal, etc. https://habrahabr.ru/post/85920/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question