I can not use Pseudo-classes in css

0

Hello. I'm trying to put a style in the links of my website, but when I open the site does not apply the changes I put through the css. I used the following code

I have researched in some places, but none informs me of my problem.

    
asked by anonymous 16.10.2018 / 19:44

2 answers

1

Welcome to Stackoverflow!

I use exactly the same css that you have made available and it is working normally. The only difference is a ; that was missing on line 7 in color: #315e8a

body {
  font-family: "K2D", sans-serif;
}

a:link, a:active, a:visited {
  color: #315e8a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
<a href="#teste">Teste</a>
    
16.10.2018 / 19:53
0
___ erkimt ___ I can not use Pseudo-classes in css ______ qstntxt ___

Hello. I'm trying to put a style in the links of my website, but when I open the site does not apply the changes I put through the css. I used the following code

Ihaveresearchedinsomeplaces,butnoneinformsmeofmyproblem.

    
______azszpr336822___

Welcome to Stackoverflow!

I use exactly the same css that you have made available and it is working normally. The only difference is a %code% that was missing on line %code% in %code%

%pre% %pre%
    
______ ___ azszpr337025

I have not tested the code, but has a semicolon (;). Missing on line 7. Try this and will probably work

    
___
17.10.2018 / 16:58