used not instead of p in css

This commit is contained in:
Pagwin 2022-01-26 20:12:45 -05:00
parent a466012009
commit a55309e9f0

View file

@ -1,13 +1,13 @@
h1{
font-weight: bold;
}
p a{
:not(h2) a{
color:#00a;
}
p a:hover{
:not(h2) a:hover{
color:#00a;
background:#bbb;
}
p a:visited{
:not(h2) a:visited{
color:#500;
}