Z
Z
zend12019-12-04 19:04:42
Programming
zend1, 2019-12-04 19:04:42

How to change the color of a visited link?

Hello. I use an extension for the Google Chrome browser called Live editor for CSS, Less & Sass - Magic CSS I
insert the following code into the extension window to change the color of the visited link.

a:visited {
 color:red !important;   
 }

On many sites it works, but on one it doesn't.
The code:
.box .item .title-item {
    padding: 10px 10px 0;
    color: #5e5e5e;
    font-size: 16px;
    line-height: 18px;
    font-weight: 300;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-transition: color .3s;
    transition: color .3s
}

<div class="item  ">
<a class="link" href="Ссылка">
<div class="title-item">
<p class="title">Текст ссылки</p>
</div>
</a>
</div>

Can you please tell me what code to insert into the Live editor for CSS, Less & Sass - Magic CSS extension window so that the color of the visited link changes on this site?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kantenbors, 2019-01-01
@kantenbors

1 mod 5 = 1
16 mod 5 = 1
Therefore, 16^n mod 5 = 1, where n is any non-negative integer
It follows that for any permutation of the digits of a hexadecimal number, the remainder of its division by 5 will not change
We consider the sum of the digits of a hexadecimal number and take the remainder of its division by 5, this will be the result

ⓒⓢⓢ, 2019-12-04
@zend1

maybe something like that

a:visited .title {
  color:red !important;   
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question